mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -85,10 +85,10 @@ sub get_log_size {
|
|||
|
||||
sub get_log_offset {
|
||||
my ($size);
|
||||
# The offset is expressed as the number of lines to skip. We get to that
|
||||
# The offset is expressed as the number of lines to skip. We get to that
|
||||
# point getting the total log size (get_log_size) and using tail for the
|
||||
# difference. If the offset is larger than the file itself, we get it
|
||||
# whole (it might have just been rotated).
|
||||
# difference. If the offset is larger than the file itself, we get it
|
||||
# whole (it might have just been rotated).
|
||||
$size = get_log_size();
|
||||
|
||||
$state->{offset} ||= 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue