mirror of
https://github.com/polybar/polybar.git
synced 2026-02-18 11:25:41 +00:00
Stop using sigabbrev_np
GNU extension
This commit is contained in:
committed by
Patrick Ziegler
parent
b9642e4cf3
commit
07da1a2967
@ -218,7 +218,7 @@ void controller::ipc_cb(string buf) {
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user