[pve-devel] applied: Re: [PATCH v2 storage] api: status: fix unlink on file upload

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 29 17:14:20 CEST 2021


On 25/06/2021 09:22, Lorenz Stechauner wrote:
> 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 at proxmox.com>
> ---
>  PVE/API2/Storage/Status.pm | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
>

applied, thanks! I cleaned that whole module slightly up afterwards, and
changed the local cleanup to use a perl fn unlink again.





More information about the pve-devel mailing list