Exit 1 on daemon connection failure

This commit is contained in:
elkowar 2021-01-16 16:39:17 +01:00
parent 6c2e0dbbc1
commit ff756da2c5

View file

@ -72,8 +72,9 @@ fn main() {
} }
} }
Err(_) => { Err(_) => {
println!("Failed to connect to the eww daemon."); eprintln!("Failed to connect to the eww daemon.");
println!("Make sure to start the eww daemon process by running `eww daemon` first."); eprintln!("Make sure to start the eww daemon process by running `eww daemon` first.");
std::process::exit(1);
} }
} }
} }