From 8668f9faa734b891f80fb890b645b1999c9a3cc0 Mon Sep 17 00:00:00 2001 From: Florian Hibler Date: Thu, 26 Feb 2015 16:48:57 +0000 Subject: Fixing HUP trap --- lib/oxidized/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.1 From 4908e399dde3546bd81e612a20b9b13982429583 Mon Sep 17 00:00:00 2001 From: Florian Hibler Date: Thu, 26 Feb 2015 17:09:32 +0000 Subject: Fixing formatting --- lib/oxidized/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb index a184163..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' -- cgit v1.2.1