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

12 lines
289 B
Diff

--- acpid.c.orig 2015-02-06 20:32:04.341695981 +0100
+++ acpid.c 2015-02-06 20:32:13.540974475 +0100
@@ -390,7 +390,7 @@ open_log(void)
int log_opts;
/* open the syslog */
- log_opts = LOG_CONS|LOG_NDELAY;
+ log_opts = LOG_NDELAY;
if (acpid_debug) {
log_opts |= LOG_PERROR;
}