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:
parent
f47240a349
commit
01a79ef71e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user