do not close stopLisChan on SIGHUP

This commit is contained in:
Max Erenberg 2023-01-28 02:00:22 -05:00 committed by Mirror
parent 5fdf62ba8b
commit 526ebc4117
1 changed files with 1 additions and 1 deletions

View File

@ -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