mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
fix more syntax errors
This commit is contained in:
parent
9791e32178
commit
1b3a25741b
@ -107,9 +107,9 @@ my (%avail, %down);
|
|||||||
|
|
||||||
my $pos = undef;
|
my $pos = undef;
|
||||||
($pos) = restore_state();
|
($pos) = restore_state();
|
||||||
$po = 0 unless defined($pos);
|
$pos = 0 unless defined($pos);
|
||||||
|
|
||||||
($log,$reset) = tail_open($logfile,$pos);
|
my ($log,$reset) = tail_open($logfile,$pos);
|
||||||
#open(my $log, "$logtail -f $logfile -o $offsetfile |") or die("cannot open $logfile: $!");
|
#open(my $log, "$logtail -f $logfile -o $offsetfile |") or die("cannot open $logfile: $!");
|
||||||
#open(my $log, "tail -100 $logfile |") or die("cannot open $logfile: $!");
|
#open(my $log, "tail -100 $logfile |") or die("cannot open $logfile: $!");
|
||||||
while (<$log>) {
|
while (<$log>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user