Updated exit code in autogpfsc.pl to be more unique.
Fixed but in autogpfsc BLOCK=yes code. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -53,10 +53,11 @@ case "$1" in | ||||
|  | ||||
| 			for i in $( | ||||
| 				grep "\bgpfs\b" /etc/fstab | \ | ||||
| 				grep -v noauto | \ | ||||
| 				awk '{print $2}' | ||||
| 			) | ||||
| 			do | ||||
| 				mount | grep "\b/gpfs1\b" >/dev/null 2>&1 | ||||
| 				mount | grep "\b/$1\b" >/dev/null 2>&1 | ||||
| 				if [ "$?" != "0" ] | ||||
| 				then | ||||
| 					DOBLOCK=yes | ||||
|   | ||||
| @@ -28,7 +28,7 @@ while(<$sock>) { | ||||
| 	$line = $_; | ||||
|  | ||||
| 	if($line =~ /^busy/) { | ||||
| 		exit(2); | ||||
| 		exit(3); | ||||
| 	} | ||||
| 	if($line =~ /^new started/) { | ||||
| 		next; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user