Fix Bug#35506

* lisp/net/tramp.el (tramp-interrupt-process): Kill the entire
process group.  (Bug#35506)
This commit is contained in:
John Shahid 2019-05-04 18:25:51 +02:00 committed by Michael Albinus
parent 5d3030910f
commit eec3ed05e3

View file

@ -4870,7 +4870,7 @@ Only works for Bourne-like shells."
(tramp-compat-funcall
'tramp-send-command
(process-get proc 'vector)
(format "kill -2 %d" pid))
(format "kill -2 -%d" pid))
;; Wait, until the process has disappeared. If it doesn't,
;; fall back to the default implementation.
(with-timeout (1 (ignore))