mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user