do not close stopLisChan on SIGHUP
This commit is contained in:
parent
6422690c21
commit
0e72c526f3
|
@ -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