]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
log: update comment
authorLennart Poettering <lennart@poettering.net>
Wed, 30 Sep 2020 14:06:53 +0000 (16:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 Sep 2020 14:06:55 +0000 (16:06 +0200)
The logic was changed in bc694c06e60505efeb09e5278a7b22cdfa23975e, let's
update the comment accordingly.

src/basic/log.h

index c65419b69981a65c264cf3b3ff1d87355df95faa..ce8bb42ea175c5d345d75f8051c92e273f1a32f2 100644 (file)
@@ -30,7 +30,7 @@ typedef enum LogTarget{
         LOG_TARGET_JOURNAL_OR_KMSG,
         LOG_TARGET_SYSLOG,
         LOG_TARGET_SYSLOG_OR_KMSG,
-        LOG_TARGET_AUTO, /* console if stderr is tty, JOURNAL_OR_KMSG otherwise */
+        LOG_TARGET_AUTO, /* console if stderr is not journal, JOURNAL_OR_KMSG otherwise */
         LOG_TARGET_NULL,
         _LOG_TARGET_MAX,
         _LOG_TARGET_INVALID = -1