No need to translate "unable to allocate memory" when we can just
use the system translation via strerror().
This commit is contained in:
@@ -109,7 +109,7 @@ disable_execute(char *const envp[])
|
||||
preload = fmt_string(RTLD_PRELOAD_VAR, sudo_conf_noexec_path());
|
||||
# endif
|
||||
if (preload == NULL)
|
||||
errorx(1, _("unable to allocate memory"));
|
||||
errorx(1, NULL);
|
||||
nenvp[env_len++] = preload;
|
||||
nenvp[env_len] = NULL;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user