X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=execute.c;fp=execute.c;h=4e01e9ad69be1c08dbe6cd2c14edde70cf743c62;hp=065296bafd53bde1fb750e92b8ab50aad2372dc0;hb=7b683879838523032604a2a5a95142956f7b8a88;hpb=c3b3c274cf7911121f84746cd80a152455f7ec97 diff --git a/execute.c b/execute.c index 065296baf..4e01e9ad6 100644 --- a/execute.c +++ b/execute.c @@ -681,6 +681,8 @@ int exec_spawn(ExecCommand *command, /* child */ + reset_all_signal_handlers(); + if (sigemptyset(&ss) < 0 || sigprocmask(SIG_SETMASK, &ss, NULL) < 0) { r = EXIT_SIGNAL_MASK;