From 8a22702ae3d7d0680f4cb098221767e6f5255f13 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 27 Jun 2013 08:22:50 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Client.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/Client.pm b/perl-xCAT/xCAT/Client.pm index 8434a8750..deb54c380 100644 --- a/perl-xCAT/xCAT/Client.pm +++ b/perl-xCAT/xCAT/Client.pm @@ -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 {