summaryrefslogtreecommitdiff
path: root/src/resolve/resolved.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-10 20:23:49 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-10 23:26:53 +0200
commitbc81447ea556586b09226ce2d3fe375a7adc2c16 (patch)
tree4ca3eb8ee06a74c2c1a75bfa73dfdaa7e2cc742b /src/resolve/resolved.c
parente373507d2570fe474a09fd6e3836ead32dca912f (diff)
resolved: flush all caches if SIGUSR2 is received
Diffstat (limited to 'src/resolve/resolved.c')
-rw-r--r--src/resolve/resolved.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c
index 6cef401870..3a47b82d8a 100644
--- a/src/resolve/resolved.c
+++ b/src/resolve/resolved.c
@@ -71,7 +71,7 @@ int main(int argc, char *argv[]) {
if (r < 0)
goto finish;
- assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGTERM, SIGINT, SIGUSR1, -1) >= 0);
+ assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGTERM, SIGINT, SIGUSR1, SIGUSR2, -1) >= 0);
r = manager_new(&m);
if (r < 0) {