aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index a0c1c79a80..904e83cdbe 100644
--- a/process.c
+++ b/process.c
@@ -2147,7 +2147,7 @@ rb_execarg_fixup(VALUE execarg_obj)
envtbl = rb_convert_type(envtbl, T_HASH, "Hash", "to_hash");
}
hide_obj(envtbl);
- if (!NIL_P(envopts)) {
+ if (envopts != Qfalse) {
st_table *stenv = RHASH_TBL(envtbl);
long i;
for (i = 0; i < RARRAY_LEN(envopts); i++) {