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/branches/2.8@16802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2013-06-27 08:22:32 +00:00
parent 4e54ba0682
commit d4816f7159

View File

@ -302,6 +302,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 {