summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-07-11 18:42:22 +0300
committerSaku Ytti <saku@ytti.fi>2014-07-11 18:42:22 +0300
commit20c3eac8aeb460c0ed8ecee6a73c2171e60f82eb (patch)
treee9b6abc0c734836f88bee53606ff246a8245a846 /bin
parenta7b2236d3a77fd268ffa9b76ee2c04a8e8f9e348 (diff)
Bit friendlier error message on invalid config
Closes #20 [ytti@ytti.fi ~/tmp/oxidized]% oxidized Error loading config: (<unknown>): mapping values are not s context at line 15 column 7 [ytti@ytti.fi ~/tmp/oxidized]%
Diffstat (limited to 'bin')
-rwxr-xr-xbin/oxidized1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/oxidized b/bin/oxidized
index f2fb9ff..e5d9bec 100755
--- a/bin/oxidized
+++ b/bin/oxidized
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
+
# FIX ME, killing oxidized needs -9
trap("INT") { exit } # sinatra will otherwise steal this from us