Skip to content

Commit

Permalink
feat(daemon): add message on Ctrl+C (SIGINT) exit
Browse files Browse the repository at this point in the history
  • Loading branch information
angelofallars committed Mar 6, 2022
1 parent b8daa1b commit 185dbd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
hotkeys = load_config();
}
SIGINT => {
log::warn!("Received SIGINT signal, exiting...");
exit(1);
}
_ => {
Expand Down

0 comments on commit 185dbd0

Please sign in to comment.