summaryrefslogtreecommitdiff
path: root/bin/bgc
diff options
context:
space:
mode:
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