summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorFlorian Hibler <florian.hibler@kaiaglobal.com>2015-02-26 16:48:57 +0000
committerFlorian Hibler <florian.hibler@kaiaglobal.com>2015-02-26 16:48:57 +0000
commit8668f9faa734b891f80fb890b645b1999c9a3cc0 (patch)
tree57351859d5b37c5214de95699c3197257ca00f58 /lib/oxidized
parent1c85b3202033ed965abe16e15688f0b0025561ea (diff)
Fixing HUP trap
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb
index 4c67f4b..a184163 100644
--- a/lib/oxidized/core.rb
+++ b/lib/oxidized/core.rb
@@ -17,7 +17,7 @@ module Oxidized
Oxidized.mgr = Manager.new
nodes = Nodes.new
@worker = Worker.new nodes
- trap 'HUP' { nodes.load }
+ trap ('HUP') { nodes.load }
if CFG.rest?
begin
require 'oxidized/web'