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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user