diff options
author | Matt Johnston <matt@ucc.asn.au> | 2012-02-21 22:57:19 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2012-02-21 22:57:19 +0800 |
commit | a3188b44f005c883c0136079e910aac095ca3460 (patch) | |
tree | 01a6ded1e724fcd7f73ca87a05cfd4c5c6f3e3ae /svr-main.c | |
parent | aaa72ddbfc20bcd1a5ddd8c06db1e28cd5dfebe3 (diff) |
- Make sure sa_mask is set
Diffstat (limited to 'svr-main.c')
-rw-r--r-- | svr-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -370,6 +370,7 @@ static void commonsetup() { /* catch and reap zombie children */ sa_chld.sa_handler = sigchld_handler; sa_chld.sa_flags = SA_NOCLDSTOP; + sa_chld.sa_mask = 0; if (sigaction(SIGCHLD, &sa_chld, NULL) < 0) { dropbear_exit("signal() error"); } |