]> 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>
Mon, 16 Dec 2024 10:15:33 +0000 (11:15 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 6fc5b5af4bfea4e3115cddb2c1716b3120bb3d4f)

term-utils/agetty.c

index 55d9a6134daa7d412b0230dd5b7b5b807f77148e..72c00e1cc7ecb24d0d14ab8b7e5208d7832a68c9 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