]> git.proxmox.com Git - pve-common.git/commit
download file from url: simplify error handling
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 4 Aug 2023 10:50:40 +0000 (12:50 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 4 Aug 2023 10:50:40 +0000 (12:50 +0200)
commita4df83987bc48ce9082a8d361d1a2e5ac8692244
tree573855120cabd7e75c852d258e80c997bc032a3f
parentbf8f0ca200903262e7a33ca27216ebebf9d73687
download file from url: simplify error handling

the top-level error handling ensures the temporary downloaded file gets
removed in case of an error, so there is no need to also handle that when
decompression fails..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/Tools.pm