login: do not print motd, done by PAM
authorChris Hofstaedtler <zeha@debian.org>
Mon, 5 Aug 2024 13:54:17 +0000 (15:54 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Mon, 9 Sep 2024 21:20:25 +0000 (23:20 +0200)
Gbp-Pq: Topic debian
Gbp-Pq: Name login-do-not-print-motd-done-by-PAM.patch

login-utils/login.c

index 0e2c2bf29e725bc48f5f58780e98f7937e2bc5e0..7ed325514c9e26bdbc88598d76363c7c8cf670a3 100644 (file)
@@ -396,8 +396,6 @@ static void motd(void)
  */
 static void display_login_messages(void)
 {
-       motd();
-
 #ifdef LOGIN_STAT_MAIL
        /*
         * This turns out to be a bad idea: when the mail spool