diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-13 02:36:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-13 02:36:19 +0200 |
commit | a337c6fcee2ab43bf791968f265a0a937715a3ff (patch) | |
tree | ae16633e49c9e09e9d25d162240b455ba1c5cbeb /main.c | |
parent | 0d87eb4279034d7806a08d128972558c8ba573ff (diff) |
main: when ignoring a signal set SA_RESTART
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -445,8 +445,8 @@ int main(int argc, char *argv[]) { assert_se(reset_all_signal_handlers() == 0); /* If we are init, we can block sigkill. Yay. */ - signal(SIGKILL, SIG_IGN); - signal(SIGPIPE, SIG_IGN); + ignore_signal(SIGKILL); + ignore_signal(SIGPIPE); /* Close all open files */ assert_se(close_all_fds(NULL, 0) == 0); |