From 524801a968dc5b79abf1b25d3f9c6bae067843b1 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 22 Jun 2009 15:03:46 +0000 Subject: [PATCH] -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 --- xCAT-server/sbin/xcatd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 8bbf727e9..44631e168 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -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;