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:
parent
e4f5f59eea
commit
455f2ad228
|
@ -216,7 +216,7 @@ async move {
|
||||||
(Ok(_), Err(err)) => {
|
(Ok(_), Err(err)) => {
|
||||||
env.log(format!("backup ended and finish failed: {}", err));
|
env.log(format!("backup ended and finish failed: {}", err));
|
||||||
env.log("removing unfinished backup");
|
env.log("removing unfinished backup");
|
||||||
env.remove_backup()?;
|
tools::runtime::block_in_place(|| env.remove_backup())?;
|
||||||
Err(err)
|
Err(err)
|
||||||
},
|
},
|
||||||
(Err(err), Err(_)) => {
|
(Err(err), Err(_)) => {
|
||||||
|
|
Loading…
Reference in New Issue