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:
parent
e703d06151
commit
4896783e1b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user