From 1538339988c9adde1c77942d06e414e423530725 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 14 Apr 2011 09:31:23 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/PPCenergy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCenergy.pm b/perl-xCAT/xCAT/PPCenergy.pm index e6e402b56..f333dbabf 100644 --- a/perl-xCAT/xCAT/PPCenergy.pm +++ b/perl-xCAT/xCAT/PPCenergy.pm @@ -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";