Skip to content

Commit 185dbd0

Browse files
committed
feat(daemon): add message on Ctrl+C (SIGINT) exit
1 parent b8daa1b commit 185dbd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/daemon.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
199199
hotkeys = load_config();
200200
}
201201
SIGINT => {
202+
log::warn!("Received SIGINT signal, exiting...");
202203
exit(1);
203204
}
204205
_ => {

0 commit comments

Comments
 (0)