Fix reload of retry_join server addresses on SIGHUP

The current code does not update the actual config, but only the local
reference to it.
This commit is contained in:
Mathias Lafeldt
2016-08-11 15:54:33 +02:00
parent 97a717356a
commit 107dbba69a

View File

@@ -484,7 +484,7 @@ WAIT:
// Check if this is a SIGHUP
if sig == syscall.SIGHUP {
if conf := c.handleReload(config); conf != nil {
config = conf
*config = *conf
}
goto WAIT
}