From 1cc6b66c5c5dccef98f65c830fa39002e76c1456 Mon Sep 17 00:00:00 2001 From: linggao Date: Thu, 29 Jan 2009 16:37:52 +0000 Subject: [PATCH] bug fix in chtab git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/chtab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/sbin/chtab b/xCAT-server/sbin/chtab index b7aa6563f..eafe6564e 100755 --- a/xCAT-server/sbin/chtab +++ b/xCAT-server/sbin/chtab @@ -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;