summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-02-26 19:10:33 +0200
committerytti <saku@ytti.fi>2015-02-26 19:10:33 +0200
commitfefe55e69502df7b5b3691facd0deaa53750d61c (patch)
tree3bb7682981cc707de549df6b681dd14e6ba9ea41 /lib/oxidized
parentdb165b5e1ebb3091a49029d739b68a913bc75db6 (diff)
parent4908e399dde3546bd81e612a20b9b13982429583 (diff)
Merge pull request #82 from fhibler/master
Fixing HUP trap for reloading nodes
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..71267dd 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'