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:
Einspanner123 2026-05-10 16:53:04 +08:00 committed by Einspanner123
parent 2a62441b69
commit 9e63766b2f
1 changed files with 1 additions and 1 deletions

View File

@ -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())
})
}