diff --git a/merlin/merlin.go b/merlin/merlin.go index 390c3fb..75560c5 100644 --- a/merlin/merlin.go +++ b/merlin/merlin.go @@ -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