diff --git a/leap-upgrades/re-deploy.sh b/leap-upgrades/re-deploy.sh index 98279c90..bdc5c1fc 100755 --- a/leap-upgrades/re-deploy.sh +++ b/leap-upgrades/re-deploy.sh @@ -91,7 +91,7 @@ RUN_TASKS+=("os-sahara-install.yml") RUN_TASKS+=("${UPGRADE_UTILS}/post-redeploy-cleanup.yml") # Loads a shell script that can be used to modify # the RUN_TASKS behavior. -if [[ ! -z ${REDEPLOY_EXTRA_SCRIPT} ]]; then +if [[ ${REDEPLOY_EXTRA_SCRIPT:-} ]]; then notice "Running extra script before re-deploy" source ${REDEPLOY_EXTRA_SCRIPT} fi