diff options
Diffstat (limited to 'src/execline/forstdin.c')
-rw-r--r-- | src/execline/forstdin.c | 2 |
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, ¶llel_sigchld_handler) < 0) + if (!sig_catch(SIGCHLD, ¶llel_sigchld_handler)) strerr_diefu1sys(111, "install SIGCHLD handler") ; } for (;;) |