From 426ba23427b00cb172b82122bef683ef9336dd60 Mon Sep 17 00:00:00 2001 From: sakolish Date: Wed, 28 May 2008 14:22:01 +0000 Subject: [PATCH] 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 --- perl-xCAT-2.0/xCAT/PPCpower.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/xCAT/PPCpower.pm b/perl-xCAT-2.0/xCAT/PPCpower.pm index 9bd70f729..b8204b762 100644 --- a/perl-xCAT-2.0/xCAT/PPCpower.pm +++ b/perl-xCAT-2.0/xCAT/PPCpower.pm @@ -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