aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2023-11-11 13:16:08 -0500
committerLibravatar Silas Bartha <[email protected]>2023-11-11 13:16:44 -0500
commit9b39e6485b90e0528cd2168956ccf6344acda6e4 (patch)
treefba53192cfab437da6c85db945e8d4104e1b23ec /src
parentb51bcae2a9cc715270484b04b0c2e8247f28328d (diff)
use stderr instead of stdout
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
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)
}