logrotate: drop useless comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-20 11:11:36 +02:00
parent 95ade8fdb5
commit 6f757b8458

View File

@ -113,7 +113,6 @@ impl LogRotate {
}
if let Some(max_files) = max_files {
// delete all files > max_files
for file in filenames.iter().skip(max_files) {
if let Err(err) = unistd::unlink(file) {
eprintln!("could not remove {:?}: {}", &file, err);