mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
chroot: remove a couple more braces
This commit is contained in:
parent
b16b0204da
commit
c33ab0e378
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ pub fn uumain(args: Vec<String>) -> int {
|
|||
let command: Vec<&str> = match opts.free.len() {
|
||||
1 => {
|
||||
let shell: &str = match userShell {
|
||||
None => {defaultShell}
|
||||
Some(ref s) => {s.as_slice()}
|
||||
None => defaultShell,
|
||||
Some(ref s) => s.as_slice()
|
||||
};
|
||||
vec!(shell, defaultOption)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue