From a25c4d314318ddfdf23d9fc40d2c3e002478c5b2 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 12 Jun 2008 18:59:55 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 6679b746d..81e73fc0c 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -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 }