about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-04-28 12:35:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-04-28 12:35:53 +0000
commita06c7498c5ad31d78b7ec60cf08f4d3f35debd81 (patch)
treed52679f9ae04da8e538b17f040bb3b2b7fe213e7
parent7b7b82031072e75b508d87383e8fd897c6e2cfbe (diff)
downloadexecline-a06c7498c5ad31d78b7ec60cf08f4d3f35debd81.tar.gz
execline-a06c7498c5ad31d78b7ec60cf08f4d3f35debd81.tar.xz
execline-a06c7498c5ad31d78b7ec60cf08f4d3f35debd81.zip
Duh... don't forget half the NSIG instances
-rw-r--r--src/execline/trap.c4
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 } ;