From 4f0ae042d9e6ecfbb6d1ac9db828b9e8ff5ef506 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Thu, 14 Oct 2010 03:47:05 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/lsslp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 2f2f25a55..72db966a9 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -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) ) { ###################################