From: Bastian Dehn Date: Sat, 27 Jun 2026 16:00:21 +0000 (+0200) Subject: fix history printing X-Git-Tag: v1.0.5^2~1^2~11 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=30cb63b2642b86bdae18ba4cd86cd1c4a7244cac;p=simple-backup.git fix history printing --- diff --git a/src/backup b/src/backup index 5777211..cc99894 100755 --- a/src/backup +++ b/src/backup @@ -294,10 +294,10 @@ check_backup_date() is_backup_old "$typ" "$(cat $history_path/$typ)" \ || color=$LIGHTRED printf "${color}last backup %s " "$typ" - printf "am %s%s\n" "$(cat $history_path/$typ)" "$RESET" + printf "am %s$RESET\n" "$(cat $history_path/$typ)" else printf "${LIGHTRED}no backup %s " $typ - printf "exists%s}\n" "$RESET" + printf "%s$RESET\n" "exists" fi done echo