Fixed history command

This commit is contained in:
Justine 2023-02-18 14:37:14 +01:00
parent acfce7b390
commit 8c0528f92c

View File

@ -55,7 +55,7 @@ pub mod shell {
//let stdout = Stdio::inherit(); //let stdout = Stdio::inherit();
let res = get_history(); let res = get_history();
match res { match res {
Ok(r) => return r, Ok(r) => println!("{}", r),
Err(e) => eprintln!(" Err: {}", e), Err(e) => eprintln!(" Err: {}", e),
} }
}, },