summaryrefslogtreecommitdiff
path: root/bin/bgc
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-06-09 10:06:11 +0200
committerMarc Vertes <mvertes@free.fr>2020-06-09 10:06:11 +0200
commit581ea31ab2a9f88b611080fe646d858c140ed7ca (patch)
tree6f1a0201c0e8d17bf3d83d420d82e25e4bf0f24d /bin/bgc
parent1aa518b6ec9a261a83d291ff48607c2ce4c7b143 (diff)
update
Diffstat (limited to 'bin/bgc')
-rwxr-xr-xbin/bgc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bgc b/bin/bgc
index 6ff6874..514b9ab 100755
--- a/bin/bgc
+++ b/bin/bgc
@@ -46,7 +46,7 @@ retention_delay() {
}
# sorted list of backups, most recent first
-lbu=$(ssh bip ls /home/backup/swift | sort -r)
+lbu=$(ssh bip ls -rv /home/backup/swift)
for d in $lbu; do
tsc=$(date2ts $d)
if ! [ "$tsp" ]; then