1
0

Added SIGABRT to doneSignal.

This commit is contained in:
Alexander Andreev 2023-10-05 17:26:48 +04:00
parent 6ae8a40493
commit 8587225dfc
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

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