[hackers] [quark] Fix typo in signal handler, SIGINT -> SIGCHLD || Quentin Rameau

From: <git_AT_suckless.org>
Date: Mon, 24 Jul 2017 16:49:35 +0200 (CEST)

commit da8a3d2e29cbfbd573626b1ce14ccef94c6293f3
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun Jul 23 01:45:33 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Mon Jul 24 16:49:24 2017 +0200

    Fix typo in signal handler, SIGINT -> SIGCHLD

diff --git a/quark.c b/quark.c
index 5351bd8..524eb9b 100644
--- a/quark.c
+++ b/quark.c
_AT_@ -1055,9 +1055,9 @@ main(int argc, char *argv[])
                 break;
         case 0:
                 /* reap children automatically */
- if (signal(SIGINT, SIG_IGN) == SIG_ERR) {
+ if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {
                         fprintf(stderr, "%s: signal: Failed to set SIG_IGN on"
- "SIGINT\n", argv0);
+ "SIGCHLD\n", argv0);
                         return 1;
                 }
 
Received on Mon Jul 24 2017 - 16:49:35 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 24 2017 - 17:01:47 CEST