From a06c7498c5ad31d78b7ec60cf08f4d3f35debd81 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 28 Apr 2017 12:35:53 +0000 Subject: Duh... don't forget half the NSIG instances --- src/execline/trap.c | 4 ++-- 1 file 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 } ; -- cgit v1.2.3