diff --git a/command/agent/command.go b/command/agent/command.go index e27b9bb47..008eed42d 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -790,7 +790,9 @@ WAIT: // Check if this is a SIGHUP if sig == syscall.SIGHUP { - config = c.handleReload(config) + if conf := c.handleReload(config); conf != nil { + config = conf + } goto WAIT }