diff --git a/entrypoint.sh b/entrypoint.sh index 8a6243e..d018fa6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,12 +2,12 @@ set -e if [[ "$1" != "prosody" ]]; then - exec prosodyctl $* + exec prosodyctl "$@" exit 0; fi if [ "$LOCAL" -a "$PASSWORD" -a "$DOMAIN" ] ; then - prosodyctl register $LOCAL $DOMAIN $PASSWORD + prosodyctl register "$LOCAL" "$DOMAIN" "$PASSWORD" fi exec "$@"