-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
This commit is contained in:
jbjohnso 2009-03-04 18:01:26 +00:00
parent ed6cba80fb
commit 94398558ca

View File

@ -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';