Added a check for an uninitialized OS to fix the following message:
Use of uninitialized value in string eq at /opt/xcat/lib/perl/xCAT/Utils.pm line 3331. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
64211fc913
commit
a8dc249d3b
@ -3328,7 +3328,7 @@ sub get_ServiceNode
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($oshash->{$node}->[0]->{os} eq "AIX") {
|
||||
if ( ($oshash->{$node}->[0]->{os}) && ($oshash->{$node}->[0]->{os} eq "AIX")) {
|
||||
push @{$snhash{$nimprime}}, $node;
|
||||
} else {
|
||||
push @{$snhash{$master}}, $node;
|
||||
|
Loading…
Reference in New Issue
Block a user