about summary refs log tree commit homepage
path: root/lib/PublicInbox/Daemon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-03-21 23:07:31 +0000
committerEric Wong <e@80x24.org>2023-03-25 09:37:53 +0000
commita0f54ff833d0af03d6426f1464d3b51e380bde31 (patch)
treeb9ea9fcdabdbaae872dfa5c8901c0c19adf8d741 /lib/PublicInbox/Daemon.pm
parent6cd1c4cb956e4e44144bc71f316aa92ff12ddddf (diff)
downloadpublic-inbox-a0f54ff833d0af03d6426f1464d3b51e380bde31.tar.gz
This is consistent with normal Perl %SIG handlers, and allows
-cindex signal handlers to be implemented consistently across
platforms.
Diffstat (limited to 'lib/PublicInbox/Daemon.pm')
-rw-r--r--lib/PublicInbox/Daemon.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index 6152a5d3..57435421 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -510,7 +510,7 @@ sub upgrade_aborted ($) {
         warn $@, "\n" if $@;
 }
 
-sub reap_children { # $_[0] = 'CHLD' or POSIX::SIGCHLD()
+sub reap_children { # $_[0] = 'CHLD'
         while (1) {
                 my $p = waitpid(-1, WNOHANG) or return;
                 if (defined $reexec_pid && $p == $reexec_pid) {