Adds a helpful println when MFS is not mounted (#595)

* Adds a helpful println when MFS is not mounted

* Addresses review comments

* Merges 2 printlns into 1 with more concise wording
This commit is contained in:
Kidhar Bachan 2024-03-13 12:42:25 +02:00 committed by GitHub
parent 09497880d0
commit f29b7b1f9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ fn user_boot() {
if sys::fs::is_mounted() {
println!("Could not find '{}'", script);
} else {
println!("MFS is not mounted to '/'");
println!("MFS not found, run 'install' to setup the system");
}
println!("Running console in diskless mode");
usr::shell::main(&["shell"]).ok();