-Correct bug where rpower reset on blade would say 'on reset'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -1109,7 +1109,7 @@ sub power {
 | 
			
		||||
  } elsif ($subcommand eq "reset" or ($subcommand eq "boot" and $stat eq "on")) {
 | 
			
		||||
    $data = $session->set(new SNMP::Varbind([".".$powerresetoid,$slot ,1,'INTEGER']));
 | 
			
		||||
    unless ($data) { return (1,$session->{ErrorStr}); }
 | 
			
		||||
    $stat = "on reset";
 | 
			
		||||
    if ($subcommand eq "boot") { $stat = "on reset"; } else { $stat = "reset"; }
 | 
			
		||||
  } elsif (not $validsub) {
 | 
			
		||||
      return 1,"Unknown/Unsupported power command $subcommand";
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user