fix output from chroot command

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2012-08-31 17:44:06 +00:00
parent e9a96fbfbe
commit d22ed464ab

View File

@ -260,19 +260,7 @@ else
then
echo "Running command: ${chroot} /usr/xcatchrootscript\n"
fi
msg=`${chroot} /usr/xcatchrootscript`
rc=$?
echo "\n\n$msg\n\n"
#if [ ${rc} -ne 0 ]
#then
# error=1
# echo "\nError: The chroot command failed for '$cmd_string'."
# echo "Error: The return code from chroot was '${rc}'\n"
#fi
${chroot} /usr/xcatchrootscript
# sensitive process has completed
${M_CHATTR} -a Rstate=available $spotObj