Add error message

timeout_old
Tassilo Horn 4 years ago
parent 5f58046319
commit 3bf88f2782
  1. 2
      src/demon.rs

@ -80,7 +80,7 @@ pub fn serve_client_requests(
) -> std::io::Result<()> { ) -> std::io::Result<()> {
match std::fs::remove_file(util::get_swayr_socket_path()) { match std::fs::remove_file(util::get_swayr_socket_path()) {
Ok(()) => println!("Deleted stale socket from previous run."), Ok(()) => println!("Deleted stale socket from previous run."),
Err(e) => eprintln!("{:?}", e), Err(e) => eprintln!("Could not delete socket:\n{:?}", e),
} }
let listener = UnixListener::bind(util::get_swayr_socket_path())?; let listener = UnixListener::bind(util::get_swayr_socket_path())?;

Loading…
Cancel
Save