mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +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() {
|
let command: Vec<&str> = match opts.free.len() {
|
||||||
1 => {
|
1 => {
|
||||||
let shell: &str = match userShell {
|
let shell: &str = match userShell {
|
||||||
None => {defaultShell}
|
None => defaultShell,
|
||||||
Some(ref s) => {s.as_slice()}
|
Some(ref s) => s.as_slice()
|
||||||
};
|
};
|
||||||
vec!(shell, defaultOption)
|
vec!(shell, defaultOption)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue