diff svr-chansession.c @ 656:67fbba2c2a85

- Make sure sa_mask is set
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 Feb 2012 22:57:19 +0800
parents 306a907d23e7
children 16af1decaf4c
line wrap: on
line diff
--- a/svr-chansession.c	Tue Feb 21 22:56:45 2012 +0800
+++ b/svr-chansession.c	Tue Feb 21 22:57:19 2012 +0800
@@ -137,6 +137,7 @@
 
 	sa_chld.sa_handler = sesssigchild_handler;
 	sa_chld.sa_flags = SA_NOCLDSTOP;
+	sa_chld.sa_mask = 0;
 	sigaction(SIGCHLD, &sa_chld, NULL);
 	TRACE(("leave sigchld handler"))
 }