aboutsummaryrefslogtreecommitdiff
path: root/networking/sendmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/sendmail.c')
-rw-r--r--networking/sendmail.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/sendmail.c b/networking/sendmail.c
index 63305d149..fa995abf4 100644
--- a/networking/sendmail.c
+++ b/networking/sendmail.c
@@ -111,8 +111,10 @@ static void launch_helper(const char **argv)
111 _exit(127); 111 _exit(127);
112 } 112 }
113 // parent - check whether child is alive 113 // parent - check whether child is alive
114 sig_catch(SIGCHLD, signal_handler); 114 bb_signals_recursive(0
115 sig_catch(SIGALRM, signal_handler); 115 + (1 << SIGCHLD)
116 + (1 << SIGALRM)
117 , signal_handler);
116 signal_handler(SIGCHLD); 118 signal_handler(SIGCHLD);
117 // child seems OK -> parent goes on 119 // child seems OK -> parent goes on
118} 120}