From 9959367888d3cbd48184e0696bcd5b9eb8627aee Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 20 Aug 2012 20:39:05 +0000 Subject: [PATCH] fix check for updatenode git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index dcd2e9281..091f5026b 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -241,7 +241,7 @@ if (&runcmd($chcmd) != 0) { if (-f $scriptname) { # if called by updatenode do not change TZ if (@ARGV > 0) { - if ($ARGV[0] == 1 || $ARGV[0] == 2) { + if ($ARGV[0] != 1 && $ARGV[0] != 2) { # set the timezone my $cmd = "cat $scriptname | grep 'TIMEZONE='"; &runcmd($cmd);