From 79c3862c74fda5edf0a35b8e0e4c990feaa657fd Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 17:51:38 +0000 Subject: Abort on malformed-lines. --- lib/custodian/parser.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/custodian/parser.rb') 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 -- cgit v1.2.1