Update kernel, use login program in contain

This commit is contained in:
Jeremy Soller 2017-04-07 21:50:18 -06:00
parent 0059276741
commit 3c795941af
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ pub fn main() {
let mut args = env::args().skip(1);
if let Some(root) = args.next() {
let cmd = args.next().unwrap_or(env::var("SHELL").unwrap_or("sh".to_string()));
let cmd = args.next().unwrap_or("login".to_string());
let args: Vec<String> = args.collect();
enter(Path::new(&root), &cmd, &args);
} else {