summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resolve/resolved.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c
index f61b70f46b..53f09db73b 100644
--- a/src/resolve/resolved.c
+++ b/src/resolve/resolved.c
@@ -64,6 +64,8 @@ int main(int argc, char *argv[]) {
if (r < 0)
goto out;
+ assert_se(sigprocmask_many(SIG_BLOCK, SIGTERM, SIGINT, -1) == 0);
+
r = manager_new(&m);
if (r < 0) {
log_error("Could not create manager: %s", strerror(-r));