]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix color per stat
authorBastian Dehn <hhaalo@arcor.de>
Tue, 11 Aug 2026 18:34:47 +0000 (20:34 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 11 Aug 2026 18:34:47 +0000 (20:34 +0200)
src/backup

index b4ce197620c08edda5b04432221af8e9eca3ce68..feec5e88a0e36203062713c4aeb17c74c35f09eb 100755 (executable)
@@ -417,6 +417,7 @@ check_backup_date()
 
        for type in day week month; do
                status="ok"
+               color="$LIGHTGREEN"
                stat=$(awk "NR==$line {print; exit}" "$stat_file")
 
                is_backup_old "$type" "$stat" || status="old"