diff --git a/lib/functions.sh b/lib/functions.sh index 7c95059..91ef89c 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -112,7 +112,7 @@ upgrade_federated() { printf "\n%s %s" "$APP" "${APP_DOTS:${#APP}} " if [ -f "/federated/apps/$APP/.env" ]; then - [[ $(grep IMAGE_VERSION_HOLD /federated/apps/$APP/.env) ]] && echo -ne "\n version hold found, skipping." && continue + [[ $(grep IMAGE_VERSION_HOLD /federated/apps/$APP/.env) ]] && echo -ne "version hold found, skipping." && continue [[ "$(docker container inspect -f '{{.State.Status}}' $APP 2>/dev/null)" != "running" ]] && APP_NOTRUNNING="true" APP_VERSION_RAW=`grep IMAGE_VERSION /federated/apps/$APP/.env | awk -F= '{ print $2 }'` APP_VERSION="${APP_VERSION_RAW//\"}"