diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/custodian-enqueue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue index a023792..8c1cb71 100755 --- a/bin/custodian-enqueue +++ b/bin/custodian-enqueue @@ -239,17 +239,17 @@ class MonitorConfig # def parse_line( line ) - line.chomp! + line.chomp! if ( !line.nil? ) # # A blank line, or a comment may be skipped. # - return if ( ( line =~ /^#/ ) || ( line.length < 1 ) ) + return nil if ( ( line.nil? ) || ( line =~ /^#/ ) || ( line.length < 1 ) ) # # The specification of mauve-server to which we should raise our alerts to. # - return if ( line =~ /Mauve\s+server(.*)source/ ) + return nil if ( line =~ /Mauve\s+server(.*)source/ ) # |