about summary refs log tree commit homepage
path: root/script/public-inbox-watch
diff options
context:
space:
mode:
Diffstat (limited to 'script/public-inbox-watch')
-rwxr-xr-xscript/public-inbox-watch1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/public-inbox-watch b/script/public-inbox-watch
index 4c50461f..2fb27343 100755
--- a/script/public-inbox-watch
+++ b/script/public-inbox-watch
@@ -27,6 +27,7 @@ my $reload = sub {
         $watch->quit;
         $watch = PublicInbox::Watch->new(PublicInbox::Config->new);
         if ($watch) {
+                $watch->{sig} = $prev->{sig}; # prevent redundant signalfd
                 warn "# reloaded\n";
         } else {
                 warn("E: reloading failed\n");