mirror of
https://github.com/opnsense/tools.git
synced 2026-05-28 04:35:46 -04:00
scripts/nightly: better recycle, would falsely read into latest/
This commit is contained in:
parent
5b94de96d7
commit
d7dcce0a39
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
eval "$(make print-LOGSDIR,PRODUCT_VERSION)"
|
||||
|
||||
for RECYCLE in $(cd ${LOGSDIR}; find . -type f | sort -r | tail -n +7); do
|
||||
for RECYCLE in $(cd ${LOGSDIR}; find . -name "[0-9]*" -type f | sort -r | tail -n +7); do
|
||||
(cd ${LOGSDIR}; rm ${RECYCLE})
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue