summaryrefslogtreecommitdiff
path: root/bin/oxidized
diff options
context:
space:
mode:
Diffstat (limited to 'bin/oxidized')
-rwxr-xr-xbin/oxidized3
1 files changed, 1 insertions, 2 deletions
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