Changeset 3345
- Timestamp:
- 09/02/10 13:45:00 (6 months ago)
- Files:
-
- trunk/master/lib/Munin/Master/Config.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/master/lib/Munin/Master/Config.pm
r3052 r3345 484 484 $self->_trim($line); 485 485 486 if ( !length($line) ) {487 next;488 }489 490 486 # Handle continuation lines (ending in \) 491 487 if ($line =~ s|\\$||) { … … 493 489 next; 494 490 } elsif ($continuation) { 495 $line = $continuation ;491 $line = $continuation . $line; 496 492 $continuation = ''; 497 493 } 498 494 495 # This must be handled after continuation hadling otherwise 496 # empty lines will be ignored in continuation context. 497 next if !length($line); 498 499 499 # Group/host/service configuration is saved for later persual. 500 500 # Everything else is saved at once. Note that _trim removes
