optimize: ignore sighup

This commit is contained in:
mzz2017 2023-03-25 15:51:20 +08:00
parent 59a07289d5
commit 5d8fc85fd9

View File

@ -208,6 +208,9 @@ loop:
// Ready to close.
oldC.Close()
case syscall.SIGHUP:
// Ignore.
continue
default:
log.Infof("Received signal: %v", sig.String())
break loop