From 64af7cbc19309e8cfde1e263a2663899cc567ae8 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Sun, 7 Apr 2013 06:30:53 +0000 Subject: [PATCH] Fixed an error in last checkin. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15844 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; } }