]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 10 Jul 2023 11:49:47 +0000 (11:49 +0000)
commitc8b7570cadb8c4268f1956d7cb09afa5b0a22f03
tree05d532880653096d61e3ed2814a9b44a6b09088a
parent173c433274ae3053f5008e137c415c889c085a7e
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

(cherry picked from commit 22c9d52289d1f9a1d0ec4fc62ee56c803b30572c)
contrib/scripts/asterisk.logrotate