]> git.proxmox.com Git - proxmox-backup.git/commitdiff
logrotate: drop useless comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Oct 2020 09:11:36 +0000 (11:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Oct 2020 09:11:36 +0000 (11:11 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/tools/logrotate.rs

index dc70392204c0394e8db4f0803834741051cb8c09..0a8203a965450ad1e646e6e9572f1c58026ee7fe 100644 (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);