1
0

Catch SIGSEGV as well.

This commit is contained in:
Alexander Andreev 2023-03-13 01:40:56 +04:00
parent 1b91f70edd
commit 1ab82003e6
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -75,7 +75,7 @@ func main() {
}
doneSignal := make(chan os.Signal, 1)
signal.Notify(doneSignal, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
signal.Notify(doneSignal, os.Interrupt, syscall.SIGINT, syscall.SIGTERM, syscall.SIGSEGV)
<-doneSignal