Added SIGABRT to doneSignal.
This commit is contained in:
parent
6ae8a40493
commit
8587225dfc
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user