diff options
Diffstat (limited to 'pkg/atlas')
-rw-r--r-- | pkg/atlas/server.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/atlas/server.go b/pkg/atlas/server.go index 487d9b6..3978911 100644 --- a/pkg/atlas/server.go +++ b/pkg/atlas/server.go @@ -716,7 +716,9 @@ func (s *Server) HandleSIGHUP() { defer s.sdnotify("READY=1") for _, fn := range s.reload { - fn() + if fn != nil { + fn() + } } } |