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
commitbc43abee15ba8634fba1d279a3c8378111501960 (patch)
tree61123ac2faa81bd7ebb0f9291dba79ad23da907a /bin/bgc
parentd753d0f7cf3036e8e333bc6d806c90b4883bfcbf (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