From: John Shahid Date: Sat, 4 May 2019 16:25:51 +0000 (+0200) Subject: Fix Bug#35506 X-Git-Tag: emacs-27.0.90~2995 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eec3ed05e3376d83df5501ca557edffaf2261b24;p=emacs.git Fix Bug#35506 * lisp/net/tramp.el (tramp-interrupt-process): Kill the entire process group. (Bug#35506) --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 2e1a0960d7d..427b3c41e3a 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -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))