1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Fix bug#60060 in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-file-local-copy):
Delete `tmpfile' in case of error.  (Bug#60060)
This commit is contained in:
Michael Albinus 2022-12-15 16:37:16 +01:00
parent d4c2aa4f91
commit bb27be36dd

View File

@ -3431,6 +3431,7 @@ implementation will be used."
(signal (car err) (cdr err)))))
;; Impossible to copy. Trigger `file-missing' error.
(delete-file tmpfile)
(setq tmpfile nil))))
(defun tramp-sh-handle-write-region