Skip to content

Commit

Permalink
fix problem of extra "
Browse files Browse the repository at this point in the history
When you provide VPNCMD_HUB or VPNCMD_SERVER it adds redundant " to a command and it fails.
  • Loading branch information
Dmitri Gopkalo authored May 8, 2018
1 parent f8917b1 commit 3258f39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copyables/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3258f39

Please sign in to comment.