mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	defect 4384: fix the issue that copycds command cannot be ctrl+c cleanly. The root cause was INT signal was not received by the plugin process after it sends out from relay_fds. The fix is to send both INT and TERM. TERM can be received in this case.
This commit is contained in:
		| @@ -2410,6 +2410,7 @@ sub relay_fds { #Relays file descriptors from pipes to children to the SSL socke | ||||
|          foreach (keys %plugin_children) { | ||||
|             print "Sending INT to $_\n"; | ||||
|             kill 2, $_; | ||||
|             kill 15, $_;                                      | ||||
|          } | ||||
|          foreach my $cin ($fds->handles) { | ||||
|             print $cin "die\n"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user