Change black list -> blocklist

This was missed in the previous conversion.
This commit is contained in:
Todd C. Miller
2022-06-09 14:49:49 -06:00
parent d04810c4f2
commit 6525436db7

View File

@@ -986,7 +986,7 @@ rebuild_env(void)
* env_check. * env_check.
*/ */
for (ep = env.old_envp; *ep; ep++) { for (ep = env.old_envp; *ep; ep++) {
/* Add variable unless it matches a black list. */ /* Add variable unless it matches a blocklist. */
if (!env_should_delete(*ep)) { if (!env_should_delete(*ep)) {
if (strncmp(*ep, "SUDO_PS1=", 9) == 0) if (strncmp(*ep, "SUDO_PS1=", 9) == 0)
ps1 = *ep + 5; ps1 = *ep + 5;