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
This commit is contained in:
wanghuaz 2009-03-29 11:05:56 +00:00
parent db325e5fd1
commit ef1ede014d

View File

@ -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";