diff options
author | Silas Bartha <[email protected]> | 2023-11-11 13:16:08 -0500 |
---|---|---|
committer | Silas Bartha <[email protected]> | 2023-11-11 13:16:44 -0500 |
commit | 9b39e6485b90e0528cd2168956ccf6344acda6e4 (patch) | |
tree | fba53192cfab437da6c85db945e8d4104e1b23ec | |
parent | b51bcae2a9cc715270484b04b0c2e8247f28328d (diff) |
use stderr instead of stdout
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/main.rs | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -841,7 +841,7 @@ dependencies = [ [[package]] name = "pomc" -version = "0.1.0" +version = "1.1.0" dependencies = [ "async-std", "clap", @@ -1,6 +1,6 @@ [package] name = "pomc" -version = "1.1.0" +version = "1.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 377a5a9..f9b5653 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,8 +39,8 @@ async fn main() { Ok(()) => std::process::exit(0), Err(e) => { match e { - fdo::Error::ServiceUnknown(_) => println!("Error: Failed to find pomd dbus interface, is pomd running?"), - _ => println!("Error calling pomd command: {}", e) + fdo::Error::ServiceUnknown(_) => eprintln!("Error: Failed to find pomd dbus interface, is pomd running?"), + _ => eprintln!("Error calling pomd command: {}", e) } std::process::exit(1) } |