From 94398558ca0dee942e3635fadc7924d29f7d2668 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 4 Mar 2009 18:01:26 +0000 Subject: [PATCH] -Fix problem where requests were sent to backup service nodes when a request is sucessfully dispatched git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 33f8d2e6f..a4bd47f15 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -973,7 +973,9 @@ sub dispatch_request { dispatch_callback({error=>["Unable to dispatch command to ".$ENV{XCATHOST}.", command will not make changes to that server ($errstr)"],errorcode=>[1]}); xCAT::MsgUtils->message("S","Error dispatching request: ".$errstr); next; - } + } else { + last; + } } else { $$progname.=": locally executing"; $SIG{CHLD}='DEFAULT';