Fixing bug: 3039292. Use xfork instead of perl subroutine fork to correctly handle the existing mysql DB connections

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2010-10-14 03:47:05 +00:00
parent 2012332325
commit 4f0ae042d9

View File

@ -594,7 +594,7 @@ sub fork_cmd {
my $parent;
my $child;
pipe $parent, $child;
my $pid = fork;
my $pid = xCAT::Utils->xfork();
if ( !defined($pid) ) {
###################################