Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Sep 6, 2021
1 parent 8941fa3 commit 7402a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/process/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ fn masked_path(path: &str, mount_label: &Option<String>) -> Result<()> {
}
Err(nix::errno::Errno::ENOTDIR) => {
let label = match mount_label {
Some(label) => format!("context={}", label),
None => String::from(""),
Some(l) => format!("context={}", l),
None => "".to_string(),
};
let _ = nix_mount(
Some("tmpfs"),
Expand Down

0 comments on commit 7402a68

Please sign in to comment.