defect 3504334 -- fix rollupdate for xLinux rpower timeout errors

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2012-03-14 21:22:08 +00:00
parent ddf7f8238d
commit c5774a5223

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;