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:
sakolish 2008-05-28 14:22:01 +00:00
parent f085da22aa
commit 426ba23427

View File

@ -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