diff --git a/server/scripts/nas_down.sh b/server/scripts/nas_down.sh index 76c5326..0b593c9 100755 --- a/server/scripts/nas_down.sh +++ b/server/scripts/nas_down.sh @@ -10,8 +10,8 @@ do MATCH=$? if [ $MATCH == 0 ]; then echo "$CONTAINER_NAME" - NAS_DEPENDENTS+=("$CONTAINER_NAME") + NAS_DEPENDENTS+="$CONTAINER_NAME\n" fi done echo "NAS_DEPENDENTS=" -echo "$NAS_DEPENDENTS" \ No newline at end of file +echo -e "${NAS_DEPENDENTS}" \ No newline at end of file