We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d0de1 commit 5fc8953Copy full SHA for 5fc8953
lgsm/functions/info_distro.sh
@@ -214,7 +214,7 @@ if [ -d "${backupdir}" ]; then
214
# number of backups.
215
backupcount=$(find "${backupdir}"/*.tar.gz | wc -l)
216
# most recent backup.
217
- lastbackup=$(ls -1tr "${backupdir}"/*.tar.gz | head -1)
+ lastbackup=$(ls -1t "${backupdir}"/*.tar.gz | head -1)
218
# date of most recent backup.
219
lastbackupdate=$(date -r "${lastbackup}")
220
# no of days since last backup.
0 commit comments