diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-13 04:49:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-13 04:49:50 +0200 |
commit | 7b683879838523032604a2a5a95142956f7b8a88 (patch) | |
tree | 00c36ea2eb7921476a5ec34ea11edaa232a90e49 | |
parent | c3b3c274cf7911121f84746cd80a152455f7ec97 (diff) |
execute: reset signal handlers when executing
-rw-r--r-- | execute.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |