mirror of
https://github.com/darold/squidanalyzer.git
synced 2025-08-15 23:18:14 +02:00
Prevent HTML to be rebuilt when there is no new log entry.
This commit is contained in:
parent
4a1ff75a35
commit
5e23057a7a
@ -1687,6 +1687,12 @@ sub buildHTML
|
||||
{
|
||||
my ($self, $outdir) = @_;
|
||||
|
||||
# No new log registered, no html buid required
|
||||
if (!$self->{last_year} && !$self->{last_month} && !$self->{last_day}) {
|
||||
print STDERR "Skipping HTML build.\n" if (!$self->{QuietMode});
|
||||
return;
|
||||
}
|
||||
|
||||
$outdir ||= $self->{Output};
|
||||
|
||||
print STDERR "Building HTML output into $outdir\n" if (!$self->{QuietMode});
|
||||
|
Loading…
x
Reference in New Issue
Block a user