From 6cfeda18eb40b8c9fce7c8f185eadef373f0c25e Mon Sep 17 00:00:00 2001 From: linggao Date: Thu, 1 Oct 2009 18:26:09 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/prescripts.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/prescripts.pm b/xCAT-server/lib/xcat/plugins/prescripts.pm index 4ec7a15d9..8d22e6a8f 100644 --- a/xCAT-server/lib/xcat/plugins/prescripts.pm +++ b/xCAT-server/lib/xcat/plugins/prescripts.pm @@ -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; } } }