handle the case that network setting without output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -4433,6 +4433,9 @@ sub network {
 | 
			
		||||
 | 
			
		||||
  ## TRACE_LINE print "The cmd to set for the network = $cmd\n";
 | 
			
		||||
  my @data = $t->cmd($cmd);
 | 
			
		||||
  if (!@data) {
 | 
			
		||||
    return ([1,"Failed"]);
 | 
			
		||||
  }
 | 
			
		||||
  my @result = grep(/These configuration changes will become active/,@data);
 | 
			
		||||
  ## TRACE_LINE print "  rc = @data\n"; 
 | 
			
		||||
  if (!@result) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user