Skip to content

Commit ad816cf

Browse files
author
Christopher M. Neill
committed
cuz now we got bad bash and i think we can solve 'em
1 parent df31de0 commit ad816cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env bash
22

33
find /var/log -type f -name '{{ name }}.*.bz2' -mtime +3 -exec rm -f {} \;
4-
bzip2 -9 /var/log/{{ name }}.log.+([0-9])
5-
4+
bzip2 -9 /var/log/{{ name }}.log.[0-9]

0 commit comments

Comments
 (0)