diff options
author | Saku Ytti <saku@ytti.fi> | 2014-07-11 18:42:22 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-07-11 18:42:22 +0300 |
commit | 20c3eac8aeb460c0ed8ecee6a73c2171e60f82eb (patch) | |
tree | e9b6abc0c734836f88bee53606ff246a8245a846 /bin | |
parent | a7b2236d3a77fd268ffa9b76ee2c04a8e8f9e348 (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-x | bin/oxidized | 1 |
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 |