fix get of TIME

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-14 13:03:36 +00:00
parent e703d06151
commit 4896783e1b

View File

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