From fc16c672ba47e1b71af9bbddd62c10dc0fe99876 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 26 Jun 2013 20:42:39 +0000 Subject: [PATCH] Fix problem where Ctrl-C didn't work with new payload format git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Client.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Client.pm b/perl-xCAT/xCAT/Client.pm index 9a1edb046..8434a8750 100644 --- a/perl-xCAT/xCAT/Client.pm +++ b/perl-xCAT/xCAT/Client.pm @@ -263,7 +263,7 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML $msg=$request; print $client $msg; } - $SIG{TERM} = $SIG{INT} = sub { send_request({abortcommand=>1},$client,$encode); exit 0; }; + $SIG{TERM} = $SIG{INT} = sub { send_request({abortcommand=>[1]},$client,$encode); exit 0; }; my $response; my $rsp; my $cleanexit=0;