]> git.proxmox.com Git - pve-storage.git/commit
api: status: fix unlink on file upload
authorLorenz Stechauner <l.stechauner@proxmox.com>
Fri, 25 Jun 2021 07:22:40 +0000 (09:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Jul 2021 15:12:40 +0000 (17:12 +0200)
commit31bd43648dfda46f82fa374389ac31403adfc5b6
tree05b6e9b1df4f89ec1ad3ac4011643e4eead74254
parent0a65c237eab2a5efe5dddf8adf7d3eaf4d106d49
api: status: fix unlink on file upload

after an error while copying the file to its destination the local
path of the destination was unlinked in every case, even when on the
destination was copied to via scp.

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
PVE/API2/Storage/Status.pm