resolved: make sure SIGTER/SIGINT actually can be caught and processed
This commit is contained in:
parent
987d561fe2
commit
b9e7a9d870
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue