diff options
author | Saku Ytti <saku@ytti.fi> | 2014-02-26 11:40:45 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-02-26 11:40:45 +0200 |
commit | 49ac63e8609d265986506fc5589b3fed83bc71a4 (patch) | |
tree | e06bb3c9c053ebd5b892d8ca3ba6166806d09f27 /bin/oxidized | |
parent | 5316f643666399ed2309ae239d2fe7b393c9e419 (diff) |
Fix missing dependency
Also catch all load errors in future by moving require 'oxidized' inside
the block
Diffstat (limited to 'bin/oxidized')
-rwxr-xr-x | bin/oxidized | 3 |
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 |