emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master eec3ed0: Fix Bug#35506


From: Michael Albinus
Subject: [Emacs-diffs] master eec3ed0: Fix Bug#35506
Date: Sat, 4 May 2019 12:25:59 -0400 (EDT)

branch: master
commit eec3ed05e3376d83df5501ca557edffaf2261b24
Author: John Shahid <address@hidden>
Commit: Michael Albinus <address@hidden>

    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 2e1a096..427b3c4 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]