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;