Changeset 3837
- Timestamp:
- 07/27/10 19:42:30 (2 years ago)
- Files:
-
- trunk/node/lib/Munin/Node/SpoolReader.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/node/lib/Munin/Node/SpoolReader.pm
r3836 r3837 69 69 my $epoch; 70 70 71 # wind through to the start of the first results after $timestamp 71 72 while (<$fh>) { 72 # Parse the line for the current epoch73 73 ($epoch) = m/^timestamp (\d+)/ or next; 74 75 74 logger("Timestamp: $epoch") if $config->{DEBUG}; 76 77 # Only continue if the line epoch is later than the asked one78 75 last if ($epoch > $timestamp); 79 76 }
