diff --git a/xCAT-server-2.0/sbin/init_xcatdb b/xCAT-server-2.0/sbin/init_xcatdb index 41fc9cf4f..32170d729 100644 --- a/xCAT-server-2.0/sbin/init_xcatdb +++ b/xCAT-server-2.0/sbin/init_xcatdb @@ -44,7 +44,7 @@ exit $rc; sub init_db { my $rc = 0; - my @timezone = `grep ZONE /etc/sysconfig/clock|cut -d= -f 2`; + my @timezone = `grep ZONE= /etc/sysconfig/clock|cut -d= -f 2`; my $hostname = `hostname`; my $masterhost = `getent hosts $hostname`; my ($masterip, $mastername) = split ' ', $masterhost;