Stop using sigabbrev_np

GNU extension
This commit is contained in:
patrick96 2021-09-11 14:10:02 +02:00 committed by Patrick Ziegler
parent b9642e4cf3
commit 07da1a2967

View File

@ -218,7 +218,7 @@ void controller::ipc_cb(string buf) {
} }
void controller::signal_handler(int signum) { void controller::signal_handler(int signum) {
m_log.notice("Received signal SIG%s", sigabbrev_np(signum)); m_log.notice("Received signal(%d): %s", signum, strsignal(signum));
stop(signum == SIGUSR1); stop(signum == SIGUSR1);
} }