From 02ebb5ec768d25feb6ddc4a2a9beb750ffa2b214 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 27 Dec 2023 19:33:00 +0000 Subject: fix invalid printf format --- typr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typr.sh b/typr.sh index cb404aa..aaa802b 100755 --- a/typr.sh +++ b/typr.sh @@ -141,7 +141,7 @@ typr_start_timer () { } typr_calculate_acc () { - [ "$total_kp" != "0" ] && printf "%s%%" "$(((100*correct_kp)/total_kp))" || printf "0%" + [ "$total_kp" != "0" ] && printf "%s%%" "$(((100*correct_kp)/total_kp))" || printf "%s" "0%" } typr_update_acc () { -- cgit v1.2.1