From 44e1350d0c1998c4428b1be4e6b555c16ea2e12c Mon Sep 17 00:00:00 2001 From: Mateen Anjum <67343899+mateenali66@users.noreply.github.com> Date: Thu, 9 Apr 2026 02:15:37 -0400 Subject: [PATCH] fix: handle SIGHUP in watcher (#2764) --- signals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signals.go b/signals.go index 844466c1..0b5e4bf7 100644 --- a/signals.go +++ b/signals.go @@ -15,7 +15,7 @@ const maxInterruptSignals = 3 // time to do cleanup work. func (e *Executor) InterceptInterruptSignals() { ch := make(chan os.Signal, maxInterruptSignals) - signal.Notify(ch, os.Interrupt, syscall.SIGTERM) + signal.Notify(ch, os.Interrupt, syscall.SIGTERM, syscall.SIGHUP) go func() { for i := range maxInterruptSignals {