diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-04-22 14:57:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-04-22 14:57:16 +0000 |
commit | 2dc76616b2b0884f0203cf36b58f94c5656c0c81 (patch) | |
tree | 4e96dd14d20a7d652d35df84224c573fbfb9ff7e | |
parent | f6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88 (diff) | |
download | skalibs-2dc76616b2b0884f0203cf36b58f94c5656c0c81.tar.xz |
Bugfix: exec the child when not SKALIBS_HASPOSIXSPAWN in child_spawn0 (thanks eto)
-rw-r--r-- | src/libstddjb/child_spawn0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/child_spawn0.c b/src/libstddjb/child_spawn0.c index bb8b29e..d1eddba 100644 --- a/src/libstddjb/child_spawn0.c +++ b/src/libstddjb/child_spawn0.c @@ -64,7 +64,7 @@ pid_t child_spawn0 (char const *prog, char const *const *argv, char const *const errno = e ; return 0 ; } - if (pid) + if (!pid) { fd_close(p[0]) ; sig_blocknone() ; |