diff --git a/main.rs b/main.rs index ec304293a466ad15e8950e2167c9bb433215d018..abe1ca2a9d7aef9b04f5274ca81f0a9c355e0af0 100644 --- a/main.rs +++ b/main.rs @@ -619,13 +619,12 @@ impl<'a> Application<'a> { if let Some(command_original) = readln!() { let command = command_original.trim(); if command == "exit" { - println!("Exit temporarily blocked (due to using terminal as init)") - //break; + break; } else if !command.is_empty() { self.on_command(&command); } } else { - println!("Failed to read from stdin"); + break; } } }