mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-16 02:41:09 +07:00
optimize: ignore sighup
This commit is contained in:
@ -208,6 +208,9 @@ loop:
|
|||||||
|
|
||||||
// Ready to close.
|
// Ready to close.
|
||||||
oldC.Close()
|
oldC.Close()
|
||||||
|
case syscall.SIGHUP:
|
||||||
|
// Ignore.
|
||||||
|
continue
|
||||||
default:
|
default:
|
||||||
log.Infof("Received signal: %v", sig.String())
|
log.Infof("Received signal: %v", sig.String())
|
||||||
break loop
|
break loop
|
||||||
|
Reference in New Issue
Block a user