-Fix problem where chained requests would encounter bugs silently
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5171993bc8
commit
524801a968
@ -835,6 +835,8 @@ sub plugin_command {
|
||||
xCAT::MsgUtils->message("S","xcatd: $error");
|
||||
$callback->({error=>[$error],errorcode=>[1]});
|
||||
xexit(0); #Die like we should have done
|
||||
} elsif ($@) { #We are still alive, should be alive, but yet we have an error. This means we are in the case of 'do_request' or something similar. Forward up the death since our communication channel is intact..
|
||||
die $@;
|
||||
}
|
||||
} else {
|
||||
$plugin_children{$child}=1;
|
||||
|
Loading…
Reference in New Issue
Block a user