fix for bug 3648: set xCAT::Client::EXITCODE=1 with error communication with the xCAT server seems to have been ended prematurely

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2013-06-27 08:22:50 +00:00
parent a9b79e36d2
commit 8a22702ae3

View File

@ -345,6 +345,7 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
$massresponse="";
unless ($cleanexit) {
print STDERR "ERROR/WARNING: communication with the xCAT server seems to have been ended prematurely\n";
$xCAT::Client::EXITCODE = 1;
}
sub validateXML {