void-packages/srcpkgs/acpid/patches/disable-logging-to-console....

12 lines
207 B
Diff

--- acpid.c
+++ acpid.c
@@ -389,7 +389,7 @@ open_log(void)
int log_opts;
/* open the syslog */
- log_opts = LOG_CONS|LOG_NDELAY;
+ log_opts = LOG_NDELAY;
openlog(PACKAGE, log_opts, LOG_DAEMON);
}