From f1471cd5f7d06bd83d4ca86391730dd2d2c1107e Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Sun, 7 Apr 2013 06:32:50 +0000 Subject: [PATCH] Fixed an error in last checkin. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/SvrUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/SvrUtils.pm b/xCAT-server/lib/perl/xCAT/SvrUtils.pm index ad1ff6bd4..23374b101 100644 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -804,7 +804,7 @@ sub update_tables_with_mgt_image #get the profile name out of the file, TODO: this does not work if the profile name contains the '.' $tmpf =~ /^([^\.]*)\..*$/; $tmpf = $1; - if ( $tmpf = "compute" ) { + if ( $tmpf eq "compute" ) { $profiles{$tmpf}=1; } }