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
commit79c3862c74fda5edf0a35b8e0e4c990feaa657fd (patch)
tree5289f6ba98cc531999c6287e142c4cd129114db2 /lib/custodian/parser.rb
parentd103378ae77dbf7bd7d83774117d375fc2254278 (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