diff --git a/playbook/_common.sh b/playbook/_common.sh index 21771fc..297cc10 100644 --- a/playbook/_common.sh +++ b/playbook/_common.sh @@ -49,7 +49,7 @@ function retry_on_fail() { c=0; while ! "${@:2}"; do echo "$repeat_msg"; - ((c++)); + ((c+=1)); if [[ $c -ge 2 ]]; then ask_yes_no retry "Es scheint ein system-bedingter Fehler zu sein, möchten Sie es dennoch erneut versuchen?"; if [[ ! $retry ]]; then