From ef1ede014d71792b0a9e5716b36bc4a9e855349e Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Sun, 29 Mar 2009 11:05:56 +0000 Subject: [PATCH] myxcatpost_{NODE} is just a list of scripts. It doesn't provide the return code. The error check should be done in each script. But currently xcat check the return of myxcatpost_{NODE} which will fail. Remove the check code. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcataixpost | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index e222e2ca3..519842f74 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -149,11 +149,7 @@ if (-f $scriptname) $nodesetstat=`grep "NODESETSTATE=" $scriptname|awk -F \= '{print \$2}'`; chomp($nodesetstat); - if (&runcmd("cd /xcatpost;$scriptname") != 0) - { - print "$::sdate xcataixpost: Could not run $scriptname.\n"; - print $::LOG_FILE "$::sdate xcataixpost: Could not run $scriptname.\n"; - } + &runcmd("cd /xcatpost;$scriptname"); } else { print "$::sdate xcataixpost: Could not find post script for $::shorthost.\n"; print $::LOG_FILE "$::sdate xcataixpost: Could not find post script for $::shorthost.\n";