chiark / gitweb /
log: fix build
[elogind.git] / src / log.c
index 3e7b8e93b7ec4ad32a8934f09d2087fc9e9e895b..a2a648a93cc8939f55ea93ed53c939b75cd067c6 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -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 ||