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