fix output from chroot command

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2012-08-31 17:46:10 +00:00
parent 63c773dd53
commit a270d82762

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