From 9b39e6485b90e0528cd2168956ccf6344acda6e4 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sat, 11 Nov 2023 13:16:08 -0500 Subject: use stderr instead of stdout --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) } -- cgit v1.2.3