Skip to content

Commit 1b67254

Browse files
committed
Fix #230: Signal parent once child takes over
1 parent 350ff31 commit 1b67254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ func main() {
196196
kill(os.Getpid(), syscall.SIGUSR1)
197197
wg.Wait()
198198
defer ctx.Release()
199+
200+
// Signal parent process since we are taking over
201+
_ = kill(os.Getppid(), syscall.SIGUSR1)
199202
}
200203

201204
} else {

0 commit comments

Comments
 (0)