From 49ac63e8609d265986506fc5589b3fed83bc71a4 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 26 Feb 2014 11:40:45 +0200 Subject: Fix missing dependency Also catch all load errors in future by moving require 'oxidized' inside the block --- bin/oxidized | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/oxidized') diff --git a/bin/oxidized b/bin/oxidized index 72db61a..36ab250 100755 --- a/bin/oxidized +++ b/bin/oxidized @@ -1,10 +1,9 @@ #!/usr/bin/env ruby -require 'oxidized' - trap("INT") { exit } # sinatra will otherwise steak this from us begin + require 'oxidized' Process.daemon unless $DEBUG Oxidized.new rescue => e -- cgit v1.2.1