Exclude escaping quotes (#21)

This commit is contained in:
Qasim Sarfraz 2018-08-07 20:26:37 +00:00 committed by Werner Beroux
parent 4f4f88ebc6
commit 6189eaf3a4
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ if [ -n "$NGROK_HEADER" ]; then
fi fi
if [ -n "$NGROK_USERNAME" ] && [ -n "$NGROK_PASSWORD" ] && [ -n "$NGROK_AUTH" ]; then if [ -n "$NGROK_USERNAME" ] && [ -n "$NGROK_PASSWORD" ] && [ -n "$NGROK_AUTH" ]; then
ARGS="$ARGS -auth=\"$NGROK_USERNAME:$NGROK_PASSWORD\" " ARGS="$ARGS -auth=$NGROK_USERNAME:$NGROK_PASSWORD "
elif [ -n "$NGROK_USERNAME" ] || [ -n "$NGROK_PASSWORD" ]; then elif [ -n "$NGROK_USERNAME" ] || [ -n "$NGROK_PASSWORD" ]; then
if [ -z "$NGROK_AUTH" ]; then if [ -z "$NGROK_AUTH" ]; then
echo "You must specify a username, password, and Ngrok authentication token to use the custom HTTP authentication." echo "You must specify a username, password, and Ngrok authentication token to use the custom HTTP authentication."