summaryrefslogtreecommitdiff
path: root/src/execline/forstdin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/execline/forstdin.c')
-rw-r--r--src/execline/forstdin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/forstdin.c b/src/execline/forstdin.c
index f89ce90..6d98d37 100644
--- a/src/execline/forstdin.c
+++ b/src/execline/forstdin.c
@@ -92,7 +92,7 @@ int main (int argc, char const **argv)
if (pids.s)
{
- if (sig_catch(SIGCHLD, &parallel_sigchld_handler) < 0)
+ if (!sig_catch(SIGCHLD, &parallel_sigchld_handler))
strerr_diefu1sys(111, "install SIGCHLD handler") ;
}
for (;;)