From 3636e6de6e1e3c8e6d7c51808bcecc8549665c8e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 7 Nov 2025 11:57:58 +0100 Subject: [PATCH] login: add line break after timeout message Just to make login(1) more user-friendly for those who do crazy things. Based on https://github.com/util-linux/util-linux/pull/3842 Signed-off-by: Karel Zak --- login-utils/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login-utils/login.c b/login-utils/login.c index ee42d081c..402e17820 100644 --- a/login-utils/login.c +++ b/login-utils/login.c @@ -1340,7 +1340,7 @@ static void initialize(int argc, char **argv, struct login_context *cxt) timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); /* TRANSLATORS: The standard value for %u is 60. */ - xasprintf(&timeout_msg, _("%s: timed out after %u seconds"), + xasprintf(&timeout_msg, _("%s: timed out after %u seconds\n"), program_invocation_short_name, timeout); signal(SIGALRM, timedout); -- 2.47.3