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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue