got updatestatus for -P -F working for Linux

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-11-16 14:45:01 +00:00
parent b42b63afbe
commit 182597b92b

View File

@ -1714,6 +1714,18 @@ sub getdata
{
chomp($output);
$output =~ s/\\cM//;
if($output =~ /^\s*(\S+)\s*:\s*Remote_command_successful/)
{
my ($node,$info) = split (/:/, $output);
push(@::SUCCESSFULLNODES,$node);
}
if($output =~ /^\s*(\S+)\s*:\s*Remote_command_failed/)
{
my ($node,$info) = split (/:/, $output);
push(@::FAILEDNODES,$node);
}
if ($output =~ /returned from postscript/)
{
$output =~
@ -1732,7 +1744,7 @@ sub getdata
push @{$rsp->{$type}}, "$output";
}
}
elsif ($output !~ /Error loading module/)
if (($output !~ (/Error loading module/)) && ($output !~ /^\s*(\S+)\s*:\s*Remote_command_successful/) && ($output !~ /^\s*(\S+)\s*:\s*Remote_command_failed/))
{
push @{$rsp->{$type}}, "$output";
}