aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index 833a238ff..0a5a31274 100644
--- a/paludis/util/process.cc
+++ b/paludis/util/process.cc
@@ -791,13 +791,13 @@ Process::run()
{
if (_imp->as_main_process)
{
- /* Ignore CLD. POSIX may or may not say that if we do this, our child will
+ /* Ignore CHLD. POSIX may or may not say that if we do this, our child will
* not become a zombie. */
struct sigaction act;
sigemptyset(&act.sa_mask);
act.sa_handler = SIG_IGN;
act.sa_flags = 0;
- sigaction(SIGCLD, &act, nullptr);
+ sigaction(SIGCHLD, &act, nullptr);
pid_t p(fork());
if (-1 == p)