From c2eca76b667e70523f27682bbae5a3e0bb771dbb Mon Sep 17 00:00:00 2001 From: daniceexi Date: Fri, 16 Apr 2010 09:01:55 +0000 Subject: [PATCH] removed some unnecessary code git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/aixremoteshell | 4 +--- xCAT/postscripts/xcataixpost | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) 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";