From d22ed464ab236d18064062e01c226ab76aeb77b0 Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 31 Aug 2012 17:44:06 +0000 Subject: [PATCH] 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 --- xCAT-client/bin/xcatchroot | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/xCAT-client/bin/xcatchroot b/xCAT-client/bin/xcatchroot index d52e71523..fb2c755e2 100755 --- a/xCAT-client/bin/xcatchroot +++ b/xCAT-client/bin/xcatchroot @@ -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