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 7060d246d1
commit 4143a9059a
No known key found for this signature in database
GPG key ID: 942469C8EC936D44

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
}