diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-28 12:35:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-28 12:35:53 +0000 |
commit | a06c7498c5ad31d78b7ec60cf08f4d3f35debd81 (patch) | |
tree | d52679f9ae04da8e538b17f040bb3b2b7fe213e7 | |
parent | 7b7b82031072e75b508d87383e8fd897c6e2cfbe (diff) | |
download | execline-a06c7498c5ad31d78b7ec60cf08f4d3f35debd81.tar.xz |
Duh... don't forget half the NSIG instances
-rw-r--r-- | src/execline/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/execline/trap.c b/src/execline/trap.c index c588d3c..dd6ae83 100644 --- a/src/execline/trap.c +++ b/src/execline/trap.c @@ -112,8 +112,8 @@ int main (int argc, char const **argv, char const *const *envp) } } - pids[NSIG] = child_spawn0(argv[argc1 + 1], argv + argc1 + 1, envp) ; - if (!pids[NSIG]) strerr_diefu2sys(111, "spawn ", argv[argc1 + 1]) ; + pids[SKALIBS_NSIG] = child_spawn0(argv[argc1 + 1], argv + argc1 + 1, envp) ; + if (!pids[SKALIBS_NSIG]) strerr_diefu2sys(111, "spawn ", argv[argc1 + 1]) ; { iopause_fd x = { .fd = spfd, .events = IOPAUSE_READ } ; |