fix(sandbox): use is_ok_and instead of map+unwrap_or for clippy
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
2a62441b69
commit
9e63766b2f
|
|
@ -299,7 +299,7 @@ fn unshare_user_namespace_works() -> bool {
|
|||
.stdout(std::process::Stdio::null())
|
||||
.stderr(std::process::Stdio::null())
|
||||
.status()
|
||||
.is_ok_and(|status| status.success())
|
||||
.is_ok_and(|s| s.success())
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue