From 185dbd09d2bb2128e3b1684825547341bb571ca3 Mon Sep 17 00:00:00 2001 From: Angelo Fallaria Date: Mon, 7 Mar 2022 02:39:28 +0800 Subject: [PATCH] feat(daemon): add message on Ctrl+C (SIGINT) exit --- src/daemon.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daemon.rs b/src/daemon.rs index d362eff..8161c20 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -199,6 +199,7 @@ async fn main() -> Result<(), Box> { hotkeys = load_config(); } SIGINT => { + log::warn!("Received SIGINT signal, exiting..."); exit(1); } _ => {