Skip to content

Commit

Permalink
Merge pull request #319 from kenoss/style-fix-indentation
Browse files Browse the repository at this point in the history
style: Fix indentation
  • Loading branch information
utam0k authored Sep 21, 2021
2 parents 8887955 + f4c871a commit 4bab88d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rootless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ pub fn lookup_map_binaries(spec: &Linux) -> Result<Option<(PathBuf, PathBuf)>> {
let gidmap = lookup_map_binary("newgidmap")?;

match (uidmap, gidmap) {
(Some(newuidmap), Some(newgidmap)) => Ok(Some((newuidmap, newgidmap))),
_ => bail!("newuidmap/newgidmap binaries could not be found in path. This is required if multiple id mappings are specified"),
}
(Some(newuidmap), Some(newgidmap)) => Ok(Some((newuidmap, newgidmap))),
_ => bail!("newuidmap/newgidmap binaries could not be found in path. This is required if multiple id mappings are specified"),
}
} else {
Ok(None)
}
Expand Down

0 comments on commit 4bab88d

Please sign in to comment.