do not close stopLisChan on SIGHUP
This commit is contained in:
parent
5fdf62ba8b
commit
526ebc4117
|
@ -108,7 +108,7 @@ mainLoop:
|
|||
|
||||
case <-reloadSig: // caught a SIGHUP
|
||||
// temporary stop the socket listener and load the config again
|
||||
close(stopLisChan)
|
||||
stopLisChan <- struct{}{}
|
||||
loadConfig()
|
||||
|
||||
case done := <-doneChan: // a sync is done and sends its exit status
|
||||
|
|
Loading…
Reference in New Issue