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

12 lines
211 B
Diff

--- a/acpid.c
+++ b/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);
}