From b699d5961ff01cd1919957172b984cbb714e090e Mon Sep 17 00:00:00 2001 From: Bob Date: Sun, 4 Sep 2016 22:19:08 +0200 Subject: [PATCH] fixed: check for SIGTERM in the signal handler --- src/ampswitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ampswitch.cpp b/src/ampswitch.cpp index 9ca58f4..be2bb4f 100644 --- a/src/ampswitch.cpp +++ b/src/ampswitch.cpp @@ -331,7 +331,7 @@ void CAmpSwitch::PJackInfoShutdownCallback(jack_status_t code, const char *reaso void CAmpSwitch::SignalHandler(int signum) { - if (signum == SIGINT || signum == SIGKILL) + if (signum == SIGINT || signum == SIGTERM) g_stop = true; }