bug fix in chtab

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2009-01-29 16:37:52 +00:00
parent 07de3c80c7
commit 1cc6b66c5c

View File

@ -61,8 +61,8 @@ unless ($target) {
}
my %keyhash=();
if ($target !~ /\./) {
my @keypairs=split(/,/,$target);
my @keypairs=split(/,/,$target);
if ($keypairs[0] !~ /([^\.\=]+)\.([^\.\=]+)\=(.+)/) {
foreach (@keypairs) {
m/(.*)=(.*)/;
my $key=$1;