added os.kill

This commit is contained in:
0xdcarns 2022-02-20 10:13:27 -05:00
parent 10c20b83e2
commit ad155087b3

View file

@ -64,7 +64,7 @@ func Daemon() error {
wg.Add(1)
go Checkin(ctx, &wg, commsNetworks)
quit := make(chan os.Signal, 1)
signal.Notify(quit, syscall.SIGTERM, os.Interrupt)
signal.Notify(quit, syscall.SIGTERM, os.Interrupt, os.Kill)
<-quit
for currCommsNet := range commsNetworks {
if cancel, ok := networkcontext.Load(currCommsNet); ok {