make sure to run next prescripts event if the previous one failed

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2009-10-01 18:26:09 +00:00
parent aa2b32ca9a
commit 6cfeda18eb

View File

@ -182,7 +182,7 @@ sub runbeginpre
$rsp = {};
$rsp->{error}->[0]="$localhostname: $s: return code=$err_code. Error message=$ret";
$callback->($rsp);
last;
#last;
}
}
}
@ -235,7 +235,7 @@ sub runendpre
$rsp = {};
$rsp->{error}->[0]="$localhostname: $s: return code=$err_code. Error message=$ret";
$callback->($rsp);
last;
#last;
}
}
}