summaryrefslogtreecommitdiff
path: root/lib/custodian/parser.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 17:51:38 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 17:51:38 +0000
commit9d799f637df58916ed238fc015cd623d6aa517b8 (patch)
tree5289f6ba98cc531999c6287e142c4cd129114db2 /lib/custodian/parser.rb
parent2ec977e33a62669421a11431f8654957a4b01076 (diff)
Abort on malformed-lines.
Diffstat (limited to 'lib/custodian/parser.rb')
-rwxr-xr-xlib/custodian/parser.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index 38792d2..d02ffb6 100755
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -428,6 +428,7 @@ class MonitorConfig
ret
else
puts "Unknown line: '#{line}'"
+ exit( 0 )
end
end