summaryrefslogtreecommitdiff
path: root/src/libstddjb/child_spawn3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/child_spawn3.c')
-rw-r--r--src/libstddjb/child_spawn3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/child_spawn3.c b/src/libstddjb/child_spawn3.c
index 932e5ab..75551d2 100644
--- a/src/libstddjb/child_spawn3.c
+++ b/src/libstddjb/child_spawn3.c
@@ -29,7 +29,7 @@ pid_t child_spawn3 (char const *prog, char const *const *argv, char const *const
char const *newenv[envlen + 2] ;
m += uint_fmt(modifs + sizeof(SKALIBS_CHILD_SPAWN_FDS_ENVVAR), p[2][1]) ;
modifs[m++] = 0 ;
- if (!env_mergen(newenv, envlen + 2, envp, envlen, modifs, m, 1)) goto err ;
+ env_mergen(newenv, envlen + 2, envp, envlen, modifs, m, 1) ;
pid = cspawn(prog, argv, newenv, CSPAWN_FLAGS_SIGBLOCKNONE, fa, 2) ;
if (!pid) goto err ;
}