diff --git a/command/agent/command.go b/command/agent/command.go index e27b9bb476..008eed42d8 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 }