aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Shahid2019-05-04 18:25:51 +0200
committerMichael Albinus2019-05-04 18:25:51 +0200
commiteec3ed05e3376d83df5501ca557edffaf2261b24 (patch)
tree18c55de1ced6b5266e0a8e69020a280d15253a01
parent5d3030910f111e991e5050339faf16b99b401e6a (diff)
downloademacs-eec3ed05e3376d83df5501ca557edffaf2261b24.tar.gz
emacs-eec3ed05e3376d83df5501ca557edffaf2261b24.zip
Fix Bug#35506
* lisp/net/tramp.el (tramp-interrupt-process): Kill the entire process group. (Bug#35506)
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
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."
4870 (tramp-compat-funcall 4870 (tramp-compat-funcall
4871 'tramp-send-command 4871 'tramp-send-command
4872 (process-get proc 'vector) 4872 (process-get proc 'vector)
4873 (format "kill -2 %d" pid)) 4873 (format "kill -2 -%d" pid))
4874 ;; Wait, until the process has disappeared. If it doesn't, 4874 ;; Wait, until the process has disappeared. If it doesn't,
4875 ;; fall back to the default implementation. 4875 ;; fall back to the default implementation.
4876 (with-timeout (1 (ignore)) 4876 (with-timeout (1 (ignore))