From eec3ed05e3376d83df5501ca557edffaf2261b24 Mon Sep 17 00:00:00 2001 From: John Shahid Date: Sat, 4 May 2019 18:25:51 +0200 Subject: [PATCH] Fix Bug#35506 * lisp/net/tramp.el (tramp-interrupt-process): Kill the entire process group. (Bug#35506) --- lisp/net/tramp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5