Skip to content

Commit

Permalink
Resolve clippy warning for macOS target
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Hrica <[email protected]>
  • Loading branch information
mtjhrc committed Nov 2, 2023
1 parent 38e1e5c commit cbf34eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ pub fn mount_container(cfg: &KrunvmConfig, vmcfg: &VmConfig) -> Result<String, s
let rootfs = std::str::from_utf8(&output.stdout).unwrap().trim();

#[cfg(target_os = "macos")]
fix_root_mode(&rootfs);
fix_root_mode(rootfs);

Ok(rootfs.to_string())
}
Expand Down

0 comments on commit cbf34eb

Please sign in to comment.