From 26bb2386ba30b8ed6c09b3d6c5e51724fe757070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pa=C4=BEo?= Date: Tue, 17 Feb 2026 14:19:01 +0100 Subject: [PATCH] Fix incorrect attempt number displayed in `dismiss_privacy_modal` script --- scripts/dismiss_privacy_modal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dismiss_privacy_modal.sh b/scripts/dismiss_privacy_modal.sh index c638d8e..3a2f2e4 100755 --- a/scripts/dismiss_privacy_modal.sh +++ b/scripts/dismiss_privacy_modal.sh @@ -27,7 +27,7 @@ third_screen_dismissed=false while [ $attempt -lt $max_attempts ]; do # Check if PowerPoint is running if pgrep -x "Microsoft PowerPoint" > /dev/null; then - echo "PowerPoint is running (attempt $attempt/$max_attempts)..." + echo "PowerPoint is running (attempt $((attempt + 1))/$max_attempts)..." # Handle first screen if not yet dismissed if [[ "$first_screen_dismissed" == "false" ]]; then