]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty: add "systemd" to --version output
authorKarel Zak <kzak@redhat.com>
Thu, 11 Jul 2024 11:26:30 +0000 (13:26 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 11 Jul 2024 11:26:30 +0000 (13:26 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c

index 275c5936298732752c8cdd4439379e85864d6c91..b28b197ffc35a9617ac0a1f0e606566af83cde0c 100644 (file)
@@ -683,6 +683,9 @@ static void output_version(void)
 #ifdef USE_SYSLOG
                "syslog",
 #endif
+#ifdef USE_SYSTEMD
+               "systemd",
+#endif
 #ifdef HAVE_WIDECHAR
                "widechar",
 #endif