log: fix build

This commit is contained in:
Lennart Poettering 2010-11-12 01:02:03 +01:00
parent bb7df0da2d
commit f41c094c9f
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ int log_open(void) {
if (log_target != LOG_TARGET_AUTO ||
getpid() == 1 ||
isatty(STDERR_FILENO) <= 0)) {
isatty(STDERR_FILENO) <= 0) {
if (log_target == LOG_TARGET_AUTO ||
log_target == LOG_TARGET_SYSLOG_OR_KMSG ||