mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 04:17:35 +00:00
Fix Bug#35506
* lisp/net/tramp.el (tramp-interrupt-process): Kill the entire process group. (Bug#35506)
This commit is contained in:
parent
5d3030910f
commit
eec3ed05e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue