Mercurial > dropbear
changeset 1001:a48561559584
Initialise sa_mask
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 28 Jan 2015 22:33:34 +0800 |
parents | c0b1b7eb5c84 |
children | 97d1e54941fd |
files | svr-main.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/svr-main.c Wed Jan 28 22:29:18 2015 +0800 +++ b/svr-main.c Wed Jan 28 22:33:34 2015 +0800 @@ -343,6 +343,7 @@ 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"); }