Changeset 56 for scripts/usr


Ignore:
Timestamp:
Jun 9, 2014, 2:29:30 PM (11 years ago)
Author:
alloc
Message:

Minor backup fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/backup.sh

    r55 r56  
    1616                unset -v LatestBackup
    1717                local fileI
    18                 for fileI in $(find "$SDTD_BACKUP_ROOT" -type d -mindepth 1 -maxdepth 1); do
     18                for fileI in $(find "$SDTD_BACKUP_ROOT" -mindepth 1 -maxdepth 1 -type d); do
    1919                        if [ "$fileI" -nt "$LatestBackup" ]; then
    2020                                LatestBackup=$fileI
Note: See TracChangeset for help on using the changeset viewer.