defect 3504334 rollupdate fix rpower check for x86

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2012-03-28 12:24:51 +00:00
parent f47240a349
commit 01a79ef71e

View File

@ -2058,9 +2058,11 @@ sub runrollupdate {
my $pwrstat = xCAT::Utils->runxcmd( $pwrstat_cmd, $::SUBREQ, -1, 1 );
foreach my $pline (@{$pwrstat}) {
my ( $pnode, $pstat, $rest ) = split( /\s+/, $pline );
if ( ( $pstat eq "Running" )
if ( ( ! $pstat )
|| ( $pstat eq "Running" )
|| ( $pstat eq "Shutting" )
|| ( $pstat eq "on" ) )
|| ( $pstat eq "on" )
|| ( $pstat eq "Error:" ) )
{
$alldown = 0;