diff --git a/xCAT/postscripts/aixremoteshell b/xCAT/postscripts/aixremoteshell index 69c0dd964..a32cee8a7 100755 --- a/xCAT/postscripts/aixremoteshell +++ b/xCAT/postscripts/aixremoteshell @@ -48,9 +48,7 @@ $rc = &runcmd("chown root $home"); if ($rc != 0) { my $msg = "It fails to chown root $home"; - if (defined($logenable)) { - `logger -t xcat $msg`; - } + `logger -t xcat $msg`; exit 1; } $rc = &runcmd("chgrp system $home"); diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 38055879b..96a7523be 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -14,8 +14,6 @@ # if AIX - make sure we include perl 5.8.2 in INC path. # Needed to find perl dependencies shipped in deps tarball. -my $osname = $^0; -`logger -t xcat $osname`; if ($^O =~ /^aix/i) { use lib "/usr/opt/perl5/lib/5.8.2/aix-thread-multi"; use lib "/usr/opt/perl5/lib/5.8.2";