aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/guts/popen.c')
-rw-r--r--ports/unix/guts/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/guts/popen.c b/ports/unix/guts/popen.c
index 0ca16b0..5d44c0e 100644
--- a/ports/unix/guts/popen.c
+++ b/ports/unix/guts/popen.c
@@ -9,7 +9,7 @@
* in ways that avoid our usual enforcement of the environment.
*/
pseudo_setupenv();
- if (pseudo_get_value("PSEUDO_UNLOAD"))
+ if (pseudo_has_unload(NULL))
pseudo_dropenv();
rc = real_popen(command, mode);