fixed a bug that crashes the xcatd when stoping snmpmon.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-05-30 00:22:01 +00:00
parent b6c07fff4b
commit a6b8070ece

View File

@ -445,6 +445,7 @@ sub stopMonitoring {
#}
}
#stop monitoring
undef $SIG{CHLD};
my @ret2 = ${$module_name."::"}{stop}->();
$ret{$_}=\@ret2;
}