Skip to content

Commit 4c37a25

Browse files
Add xferlog
1 parent 1dc0cb2 commit 4c37a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rm-log-rotation-files-danger

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ rm -f /var/log/wtmp.[0-9]*
5555
rm -f /var/log/atop/atop_[0-9]*
5656

5757
## Find any remaining files by matching exenstions
58-
find /var/log -type f \( -name "*.bz2" -o -name "*.gz" -o -name "*.old" -o -name "*.log.[0-9]*" -o -name "*.[0-9].log" \) -exec rm {} \;
58+
find /var/log -type f \( -name "*.bz2" -o -name "*.gz" -o -name "*.old" -o -name "*.log.[0-9]*" -o -name "*.[0-9].log" -o -name "xferlog.[0-9]*" \) -exec rm {} \;

0 commit comments

Comments
 (0)