mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
main: use DAEMON facility for syslog
This commit is contained in:
parent
6db8925feb
commit
6af8b52012
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -275,7 +275,7 @@ main(int argc, char *const *argv)
|
|||
}
|
||||
}
|
||||
|
||||
log_init(log_colorize, log_syslog, LOG_FACILITY_USER, LOG_CLASS_WARNING);
|
||||
log_init(log_colorize, log_syslog, LOG_FACILITY_DAEMON, LOG_CLASS_WARNING);
|
||||
|
||||
const struct sigaction sa = {.sa_handler = &signal_handler};
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue