From 4896783e1b460c52fbf8339cdf744580d4985025 Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 14 Mar 2008 13:03:36 +0000 Subject: [PATCH] fix get of TIME git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/sbin/init_xcatdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;