aboutsummaryrefslogtreecommitdiff
path: root/pkg/atlas
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/atlas')
-rw-r--r--pkg/atlas/server.go4
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()
+ }
}
}