Stop using sigabbrev_np
GNU extension
This commit is contained in:
parent
b9642e4cf3
commit
07da1a2967
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user