mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	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
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user