]> arthur.barton.de Git - backup-script.git/blobdiff - bin/backup-status
backup-audit: Use find(1) instead of ls(1) to get more comparable output
[backup-script.git] / bin / backup-status
index 1f68760186931cab61979c1c9f4a7d437d41d401..76e75195577c0ce50ebdb78319f94318c7de4d57 100755 (executable)
@@ -29,6 +29,9 @@ default_backup_type="rsync"
 default_generations=0
 default_target="/var/backups"
 
+# Set shell options.
+shopt -s nullglob
+
 # Search configuration file (last one is used as default!)
 for conf in \
        "/usr/local/etc/backup-script.conf" \