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 <kzak@redhat.com>
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);