fix bad check in isServiceReq routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0e5cdd5db2
commit
a25c4d3143
@ -1656,7 +1656,7 @@ sub isServiceReq
|
||||
my $value = $node->{$service};
|
||||
$value =~ tr/a-z/A-Z/; # convert to upper
|
||||
# value 1 or yes then we setup the service
|
||||
if (($value == 1) || ($value eq "YES"))
|
||||
if (($value eq "1") || ($value eq "YES"))
|
||||
{
|
||||
return 1; # found service required for the node
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user