From 3258f39a406eccbfbbfff43de1245dc31c8d3056 Mon Sep 17 00:00:00 2001 From: Dmitri Gopkalo Date: Tue, 8 May 2018 23:47:12 +0300 Subject: [PATCH] fix problem of extra " When you provide VPNCMD_HUB or VPNCMD_SERVER it adds redundant " to a command and it fails. --- copyables/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyables/entrypoint.sh b/copyables/entrypoint.sh index b7d09973..1cd7398c 100644 --- a/copyables/entrypoint.sh +++ b/copyables/entrypoint.sh @@ -150,14 +150,14 @@ export PASSWORD='**' if [[ $VPNCMD_SERVER ]] then while IFS=";" read -ra CMD; do - vpncmd_server "$CMD" + vpncmd_server $CMD done <<< "$VPNCMD_SERVER" fi if [[ $VPNCMD_HUB ]] then while IFS=";" read -ra CMD; do - vpncmd_hub "$CMD" + vpncmd_hub $CMD done <<< "$VPNCMD_HUB" fi