aboutsummaryrefslogtreecommitdiffstats
path: root/ports/common/guts/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/common/guts/execv.c')
-rw-r--r--ports/common/guts/execv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/common/guts/execv.c b/ports/common/guts/execv.c
index 763e1f9..3e1f820 100644
--- a/ports/common/guts/execv.c
+++ b/ports/common/guts/execv.c
@@ -19,7 +19,7 @@
}
pseudo_setupenv();
- if (pseudo_get_value("PSEUDO_UNLOAD"))
+ if (pseudo_has_unload(NULL))
pseudo_dropenv();
/* if exec() fails, we may end up taking signals unexpectedly...