mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Fix defect :3120322 can't remove group xcatdb when db2sqlsetup -r -S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1747,17 +1747,13 @@ sub remove | ||||
|     if ($::osname eq 'AIX') | ||||
|     { | ||||
|         $cmd = "rmgroup xcatdb"; | ||||
|         xCAT::Utils->runcmd($cmd, -1); | ||||
|         if ($::RUNCMD_RC != 0) | ||||
|         { | ||||
|    	        my $message = "can't remove group xcatdb \n"; | ||||
|    	        xCAT::MsgUtils->message("E", "$message"); | ||||
|         }   | ||||
|     } | ||||
|     else | ||||
|     { | ||||
|         $cmd = "groupdel xcatdb"; | ||||
|     }     | ||||
|     xCAT::Utils->runcmd($cmd, -1); | ||||
|     if ($::RUNCMD_RC != 0) | ||||
|     { | ||||
|    	    my $message = "can't remove group xcatdb \n"; | ||||
|    	    xCAT::MsgUtils->message("E", "$message"); | ||||
|     }   | ||||
|     | ||||
|     | ||||
|     $cmd = "rm -rf "; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user