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:
		@@ -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) ) {
 | 
			
		||||
        ###################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user