From da959461a6f90856d5d3d02e26d32d7d4c0a4c2c Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 17 Apr 2014 01:10:12 +0300 Subject: Asetus values will always be true --- lib/oxidized/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb index 2b5bbcf..c826d1e 100644 --- a/lib/oxidized/core.rb +++ b/lib/oxidized/core.rb @@ -16,7 +16,7 @@ module Oxidized Oxidized.mgr = Manager.new nodes = Nodes.new @worker = Worker.new nodes - if CFG.rest + if CFG.rest? begin require 'oxidized/web' rescue LoadError -- cgit v1.2.1