From d4816f71595f20a332cb41ec346422229cb90193 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 27 Jun 2013 08:22:32 +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/branches/2.8@16802 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 d30cfd08a..80d9340a9 100644 --- a/perl-xCAT/xCAT/Client.pm +++ b/perl-xCAT/xCAT/Client.pm @@ -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 {