Fixed "rpower boot" problem - Line #183
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f085da22aa
commit
426ba23427
@ -180,7 +180,7 @@ sub powercmd_boot {
|
||||
# Convert state to on/off
|
||||
##################################
|
||||
my $state = power_status($data->{$id});
|
||||
my $op = ($state =~ /^(Off|Not Activated)$/) ? "on" : "reset";
|
||||
my $op = ($state =~ /^off$/) ? "on" : "reset";
|
||||
|
||||
##############################
|
||||
# Send power command
|
||||
|
Loading…
Reference in New Issue
Block a user