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:
datajerk 2009-05-14 06:35:00 +00:00
parent 9fc5c96e56
commit 9246f5fa22
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -28,7 +28,7 @@ while(<$sock>) {
$line = $_;
if($line =~ /^busy/) {
exit(2);
exit(3);
}
if($line =~ /^new started/) {
next;