mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Call gettext() on insults when displayed, not when declared.
This commit is contained in:
@@ -231,7 +231,7 @@ pass_warn(void)
|
||||
|
||||
#ifdef INSULT
|
||||
if (def_insults)
|
||||
warning = INSULT;
|
||||
warning = _(INSULT);
|
||||
#endif
|
||||
sudo_printf(SUDO_CONV_ERROR_MSG|SUDO_CONV_PREFER_TTY, "%s\n", warning);
|
||||
|
||||
|
Reference in New Issue
Block a user