summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-09 00:31:58 +0200
committerMartin Mares <mj@ucw.cz>2000-05-09 00:31:58 +0200
commit5ff0a270cb411d423a78ed13604a5f2b25d4b289 (patch)
treeb2026bf6e76d4233f39d5113eff903993947c9a0
parent4524331a3d758106f4ffa6a54a60aeae45341789 (diff)
downloadbird-5ff0a270cb411d423a78ed13604a5f2b25d4b289.tar
bird-5ff0a270cb411d423a78ed13604a5f2b25d4b289.zip
In non-debug mode, set default logging to syslog only, not stderr.
-rw-r--r--sysdep/unix/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index 4a4532a..f8b960a 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