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:
parent
d4c2aa4f91
commit
bb27be36dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user