From: Bastian Dehn Date: Tue, 11 Aug 2026 18:28:13 +0000 (+0200) Subject: fix color stat X-Git-Tag: v1.0.6^2~1^2~4 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=e0bb86d969312f5c4676ada1489110e3bd40b575;p=simple-backup.git fix color stat --- diff --git a/src/backup b/src/backup index bbb9e81..b4ce197 100755 --- a/src/backup +++ b/src/backup @@ -420,7 +420,7 @@ check_backup_date() stat=$(awk "NR==$line {print; exit}" "$stat_file") is_backup_old "$type" "$stat" || status="old" - [ "$status" != "ok" ] || color="$LIGHTRED" + [ "$status" == "ok" ] || color="$LIGHTRED" printf "${color}%-5s %-10s %s${RESET}\n" "$type" "$stat" "$status" ((line++))