fix the issue that SIG[CHLD] is null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e748fe4c13
commit
1538339988
@ -312,7 +312,7 @@ sub renergy {
|
||||
|
||||
# Disable the CHID signal before run the command. Otherwise the
|
||||
# $? value of `$cmd` will come from handler of CHID signal
|
||||
$SIG{CHLD} = ();
|
||||
$SIG{CHLD} = 'DEFAULT';
|
||||
|
||||
# Call the xCAT_cim_client to query or set the energy capabilities
|
||||
$cmd .= " 2>&1";
|
||||
|
Loading…
Reference in New Issue
Block a user