diff --git a/chroot/chroot.rs b/chroot/chroot.rs index cf73610d8..2f27ce582 100644 --- a/chroot/chroot.rs +++ b/chroot/chroot.rs @@ -74,8 +74,8 @@ pub fn uumain(args: Vec) -> 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) }