From 8c4170e7d91aefac1b9bcad4c1257d4bea63ba84 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 16 Mar 2019 19:19:37 +0100 Subject: [PATCH] entrypoint.sh: Quote variables [shellcheck] --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 "$@"