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:
parent
2a56607bee
commit
8aa8e1f9ae
@ -621,6 +621,7 @@ until ($quit) {
|
||||
}
|
||||
|
||||
if ($child == 0) {
|
||||
$SIG{TERM} = $SIG{INT} = ();
|
||||
$SIG{CHLD} = \&generic_reaper; #THROTTLE
|
||||
$listener->close;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user