summaryrefslogtreecommitdiff
path: root/svr-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/svr-main.c b/svr-main.c
index cf92d42..284e02d 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -343,6 +343,7 @@ static void sigchld_handler(int UNUSED(unused)) {
sa_chld.sa_handler = sigchld_handler;
sa_chld.sa_flags = SA_NOCLDSTOP;
+ sigemptyset(&sa_chld.sa_mask);
if (sigaction(SIGCHLD, &sa_chld, NULL) < 0) {
dropbear_exit("signal() error");
}