Display warning/error messages in the user's locale.
This commit is contained in:
@@ -90,7 +90,7 @@ linux_audit_command(char *argv[], int result)
|
||||
/* Log command, ignoring ECONNREFUSED on error. */
|
||||
rc = audit_log_user_command(au_fd, AUDIT_USER_CMD, command, NULL, result);
|
||||
if (rc <= 0 && errno != ECONNREFUSED)
|
||||
warning(_("unable to send audit message"));
|
||||
warning(N_("unable to send audit message"));
|
||||
|
||||
efree(command);
|
||||
|
||||
|
Reference in New Issue
Block a user