]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
In non-debug mode, set default logging to syslog only, not stderr.
authorMartin Mares <mj@ucw.cz>
Mon, 8 May 2000 22:31:58 +0000 (22:31 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 8 May 2000 22:31:58 +0000 (22:31 +0000)
sysdep/unix/log.c

index 4a4532af73f358a7812dbaa547aace6353017240..f8b960a14795b68ffdbca6c1645896ee8bcbd3f2 100644 (file)
@@ -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