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
This commit is contained in:
wanghuaz 2013-04-07 06:32:50 +00:00
parent e63dc81a22
commit f1471cd5f7

View File

@ -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;
}
}