agetty: add "systemd" to --version output
authorKarel Zak <kzak@redhat.com>
Thu, 11 Jul 2024 11:26:30 +0000 (13:26 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Mon, 9 Sep 2024 21:20:25 +0000 (23:20 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Gbp-Pq: Topic upstream-master
Gbp-Pq: Name agetty-add-systemd-to-version-output.patch

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