logrotate: drop useless comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
95ade8fdb5
commit
6f757b8458
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user