From 1b91d3e8f402829f336daa5f768e768aede373da Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 22 May 2010 04:39:16 +0200 Subject: execute: fix typo --- src/execute.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/execute.c') diff --git a/src/execute.c b/src/execute.c index ead6c0fa42..1b37f2efe4 100644 --- a/src/execute.c +++ b/src/execute.c @@ -783,10 +783,12 @@ int exec_spawn(ExecCommand *command, /* child */ - /* We reset exactly these two signals, since they are - * the only ones we set to SIG_IGN in the main - * daemon. All others */ - default_signals(SIGNALS_CRASH_HANLDER, + /* We reset exactly these signals, since they are the + * only ones we set to SIG_IGN in the main daemon. All + * others we leave untouched because we set them to + * SIG_DFL or a valid handler initially, both of which + * will be demoted to SIG_DFL. */ + default_signals(SIGNALS_CRASH_HANDLER, SIGNALS_IGNORE, -1); if (sigemptyset(&ss) < 0 || -- cgit v1.2.3-54-g00ecf