diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 22:31:58 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 22:31:58 +0000 |
commit | 5ff0a270cb411d423a78ed13604a5f2b25d4b289 (patch) | |
tree | b2026bf6e76d4233f39d5113eff903993947c9a0 | |
parent | 4524331a3d758106f4ffa6a54a60aeae45341789 (diff) |
In non-debug mode, set default logging to syslog only, not stderr.
-rw-r--r-- | sysdep/unix/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c index 4a4532af..f8b960a1 100644 --- a/sysdep/unix/log.c +++ b/sysdep/unix/log.c @@ -157,6 +157,7 @@ log_init(int debug) static struct log_config lc_syslog = { mask: ~0 }; openlog("bird", LOG_CONS | LOG_NDELAY, LOG_DAEMON); add_tail(current_log_list, &lc_syslog.n); + return; } #endif |