Print output for commands, don't info!

This commit is contained in:
Gav Wood 2016-12-13 20:20:10 +01:00
parent c6281fc1c7
commit 6a48e9d9e5
No known key found for this signature in database
GPG Key ID: C49C1ACA1CC9B252

View File

@ -226,7 +226,7 @@ fn main_direct(can_restart: bool) -> i32 {
} else { } else {
match start(can_restart) { match start(can_restart) {
Ok(result) => match result { Ok(result) => match result {
PostExecutionAction::Print(s) => { info!("{}", s); 0 }, PostExecutionAction::Print(s) => { println!("{}", s); 0 },
PostExecutionAction::Restart => PLEASE_RESTART_EXIT_CODE, PostExecutionAction::Restart => PLEASE_RESTART_EXIT_CODE,
PostExecutionAction::Quit => 0, PostExecutionAction::Quit => 0,
}, },