diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-21 19:09:00 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-21 19:09:00 +0000 |
commit | 1fbc3336a593e7b34420172efbe81f0f4aa65ad3 (patch) | |
tree | 8a10ed3f4513489c622c2638322d77bbf06fa11a | |
parent | b8b5d27a138f32c6e400932fa8828a380a03d1d7 (diff) | |
download | skalibs-1fbc3336a593e7b34420172efbe81f0f4aa65ad3.tar.xz |
child_spawn1_internal fix for noposixspawn
-rw-r--r-- | src/libstddjb/child_spawn1_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/child_spawn1_internal.c b/src/libstddjb/child_spawn1_internal.c index b004d7e..2ce2ac3 100644 --- a/src/libstddjb/child_spawn1_internal.c +++ b/src/libstddjb/child_spawn1_internal.c @@ -91,7 +91,7 @@ pid_t child_spawn1_internal (char const *prog, char const *const *argv, char con errno = e ; return 0 ; } - if (pid) + if (!pid) { fd_close(syncp[0]) ; fd_close(p[!(to & 1)]) ; |