diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c index 2e3e4d2e6b90..40610c2f0822 100644 --- a/libexec/telnetd/sys_term.c +++ b/libexec/telnetd/sys_term.c @@ -1782,7 +1782,6 @@ scrub_env() for (cpp2 = cpp = environ; *cpp; cpp++) { #ifdef __FreeBSD__ if (strncmp(*cpp, "LD_LIBRARY_PATH=", 16) && - strncmp(*cpp, "LD_NOSTD_PATH=", 14) && strncmp(*cpp, "LD_PRELOAD=", 11) && #else if (strncmp(*cpp, "LD_", 3) &&