style: cargo fmt — clear formatting drift blocking the release gate
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
8e51164321
commit
5c19effdd1
@@ -287,7 +287,10 @@ pub async fn install(identity_dir: &Path) -> Result<()> {
|
||||
app_install?;
|
||||
// Make the allowance live immediately; a no-op error when the
|
||||
// hardening baseline isn't installed on this node yet.
|
||||
if tokio::fs::try_exists("/etc/fips/fips.nft").await.unwrap_or(false) {
|
||||
if tokio::fs::try_exists("/etc/fips/fips.nft")
|
||||
.await
|
||||
.unwrap_or(false)
|
||||
{
|
||||
match Command::new("sudo")
|
||||
.args(["nft", "-f", "/etc/fips/fips.nft"])
|
||||
.output()
|
||||
|
||||
Reference in New Issue
Block a user