fix missing block_in_place for remove_backup

Commit 9070d11f4c introduced this change for other call sites,
assuming it is correct, this one was missed.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter 2020-10-19 16:45:21 +02:00 committed by Dietmar Maurer
parent e4f5f59eea
commit 455f2ad228
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ async move {
(Ok(_), Err(err)) => {
env.log(format!("backup ended and finish failed: {}", err));
env.log("removing unfinished backup");
env.remove_backup()?;
tools::runtime::block_in_place(|| env.remove_backup())?;
Err(err)
},
(Err(err), Err(_)) => {