diff --git a/playbook/_common.sh b/playbook/_common.sh index 297cc10..e628ba7 100644 --- a/playbook/_common.sh +++ b/playbook/_common.sh @@ -52,7 +52,7 @@ function retry_on_fail() { ((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 + if ! $retry; then setup_failed; exit 1; fi