Commit 168b8322 authored by Michael Albinus's avatar Michael Albinus
Browse files

* lisp/net/tramp.el (tramp-interrupt-process): Return proper value.

parent b9303ac2
Pipeline #1714 passed with stage
in 54 minutes and 10 seconds
......@@ -4864,9 +4864,8 @@ Only works for Bourne-like shells."
(format "kill -2 -%d" pid))
;; Wait, until the process has disappeared. If it doesn't,
;; fall back to the default implementation.
(and (tramp-accept-process-output proc 1)
;; Report success.
(while (tramp-accept-process-output proc 0))
(not (process-live-p proc))))))
;; `interrupt-process-functions' exists since Emacs 26.1.
(when (boundp 'interrupt-process-functions)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment