The child process of the xcatd should not handle the TERM and INT signals as the parent process

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2010-01-06 10:06:24 +00:00
parent 2a56607bee
commit 8aa8e1f9ae

View File

@ -621,6 +621,7 @@ until ($quit) {
}
if ($child == 0) {
$SIG{TERM} = $SIG{INT} = ();
$SIG{CHLD} = \&generic_reaper; #THROTTLE
$listener->close;