diff options
Diffstat (limited to 'src/libstddjb/child_spawn.c')
-rw-r--r-- | src/libstddjb/child_spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/child_spawn.c b/src/libstddjb/child_spawn.c index 82edf8a..964e4e2 100644 --- a/src/libstddjb/child_spawn.c +++ b/src/libstddjb/child_spawn.c @@ -95,7 +95,7 @@ pid_t child_spawn (char const *prog, char const *const *argv, char const *const int haspath = !!getenv("PATH") ; size_t envlen = env_len(envp) ; char const *newenv[envlen + 2] ; - if (!env_merge(newenv, envlen+2, envp, envlen, modifs, m)) goto errsp ; + if (!env_merge(newenv, envlen+2, envp, envlen, modifs, m)) goto erractions ; if (!haspath && (setenv("PATH", SKALIBS_DEFAULTPATH, 0) < 0)) { e = errno ; goto erractions ; |