diff options
author | Philippe Guilbault <philippe.guilbault@gmail.com> | 2016-12-10 22:57:10 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-12-11 15:00:33 +0000 |
commit | cd395b7ece50492d51d8b1708ec91adf529ead18 (patch) | |
tree | ed44ffe74647fc60ea4572f91f3b66bec7e62f3e /lbu.in | |
parent | bd4e2c5b0a11f09502f9bb9a6d842019a2fb7705 (diff) | |
download | alpine-conf-cd395b7ece50492d51d8b1708ec91adf529ead18.zip |
BACKUP_LIMIT not working for encrypted backups
Diffstat (limited to 'lbu.in')
-rw-r--r-- | lbu.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,7 @@ cmd_commit() { # delete old backups if needed # poor mans 'head -n -N' done with awk. - ls "$mnt"/$(hostname).[0-9][0-9][0-9][0-9]*[0-9].tar.gz 2>/dev/null \ + ls "$mnt"/$(hostname).[0-9][0-9][0-9][0-9]*[0-9].tar.gz* 2>/dev/null \ | awk '{ a[++i] = $0; } END { print a[0]; while (i-- > '"${BACKUP_LIMIT:-0}"') { |