tree-wide: is_ok/is_err()

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2021-12-30 15:01:31 +01:00
parent 3afecb8409
commit 6f1c26b083
3 changed files with 4 additions and 4 deletions

View File

@ -642,7 +642,7 @@ pub fn backup_snapshot(
}
}
if let Err(_) = reader_thread.join() {
if reader_thread.join().is_err() {
bail!("chunk reader thread failed");
}