From 6b83f0d1fb18dea4397116b22ead9516f0385125 Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 22 Aug 2008 14:13:28 +0000 Subject: [PATCH] Fix bug reading stanza file. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index 963c8c649..ac0acd4f3 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -1258,7 +1258,7 @@ sub readFileInput ($objectname, $junk2) = split(/:/, $l); # if $junk2 is defined or there's an = - if (defined($junk2) || grep(/=/, $objectname)) + if ($junk2 || grep(/=/, $objectname)) { # error - invalid header $line in node definition file