aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/guts/system.c')
-rw-r--r--ports/unix/guts/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/guts/system.c b/ports/unix/guts/system.c
index 028b372..6351592 100644
--- a/ports/unix/guts/system.c
+++ b/ports/unix/guts/system.c
@@ -9,7 +9,7 @@
return 1;
pseudo_setupenv();
- if (pseudo_get_value("PSEUDO_UNLOAD"))
+ if (pseudo_has_unload(NULL))
pseudo_dropenv();
rc = real_system(command);