mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
Fix problem with duplicate log messages before syslogd has started
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
5dc4e7c058
commit
77cd0f0243
1 file changed
+1
-1
@@ -63,7 +63,7 @@ void log_open(void)
|
|||||||
closelog();
|
closelog();
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
opts |= LOG_CONS | LOG_PERROR;
|
opts |= LOG_PERROR; /* LOG_CONS | */
|
||||||
openlog("finit", opts, LOG_DAEMON);
|
openlog("finit", opts, LOG_DAEMON);
|
||||||
setlogmask(LOG_UPTO(loglevel));
|
setlogmask(LOG_UPTO(loglevel));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user