aboutsummaryrefslogtreecommitdiffstats
path: root/ports/common/guts/execvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/common/guts/execvp.c')
-rw-r--r--ports/common/guts/execvp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/common/guts/execvp.c b/ports/common/guts/execvp.c
index 5e75be7..04253c3 100644
--- a/ports/common/guts/execvp.c
+++ b/ports/common/guts/execvp.c
@@ -20,7 +20,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...