]> git.proxmox.com Git - proxmox-backup.git/commit
task archive rotation: better handle non-existing archive
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 2 Oct 2020 13:20:10 +0000 (15:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 5 Oct 2020 08:04:16 +0000 (10:04 +0200)
commit2d81f7b0c0bc94544a5f746a1aad8cf008afc28d
tree321479c4cab716d098e78b23b477e7993d9377e9
parent04e24b14f0c51f01a1f8afe2d0eff124c1095758
task archive rotation: better handle non-existing archive

if the archive file does not exist yet, we cannot rotate it, but it's not
actually an error, so just return Ok(false) to indicate no rotation took
place

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/server/worker_task.rs