]> git.ipfire.org Git - thirdparty/asterisk.git/commit
logrotate: Fix duplicate log entries.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 18 May 2023 16:55:45 +0000 (16:55 +0000)
committerNaveen Albert <asterisk@phreaknet.org>
Thu, 25 May 2023 16:40:05 +0000 (16:40 +0000)
commit22c9d52289d1f9a1d0ec4fc62ee56c803b30572c
treeb2e370c7e7af4c824abeb25087d1dbaddfe5bf15
parent1a7dada80412c94f414d01f68cb6d5c789248574
logrotate: Fix duplicate log entries.

The Asterisk logrotate script contains explicit
references to files with the .log extension,
which are also included when *log is expanded.
This causes issues with newer versions of logrotate.
This fixes this by ensuring that a log file cannot
be referenced multiple times after expansion occurs.

Resolves: #96
ASTERISK-30442
Reported by: EN Barnett
Tested by: EN Barnett
contrib/scripts/asterisk.logrotate