]> arthur.barton.de Git - backup-script.git/blobdiff - bin/backup-status
Look for configuration file in /usr/local/etc/, too
[backup-script.git] / bin / backup-status
index c81a4d1f430b87baaecd42688790e058bba09e1a..4a181801b21537f700ee677932c568a888f4101b 100755 (executable)
@@ -123,7 +123,8 @@ for f in $sys; do
        echo "- Target: $target"
 
        if [ $generations -gt 0 ]; then
-               for s in $target/[0-9]*-[0-9]*; do
+               for s in $target/current $target/[0-9]*-[0-9]*; do
+                       [ -e "$s" ] || continue
                        echo "  - Snapshot: $s"
                        Check_Size "$s" "  "
                        Check_Stamp "$s/.stamp" "  "