Fix: quotes mismatch

This commit is contained in:
leafee98 2023-09-14 12:35:38 +08:00
parent c33076ca34
commit 6e5bb07445

View file

@ -5,7 +5,7 @@ if [[ -z "$PROXYENV_CONFPATH" ]] ; then
source "/etc/proxyenv.conf" source "/etc/proxyenv.conf"
else else
echo "custom configuration location '/etc/proxyenv.conf' not exists" >&2 echo "custom configuration location '/etc/proxyenv.conf' not exists" >&2
echo "exiting...' echo "exiting..."
exit 1 exit 1
fi fi
else else
@ -13,14 +13,14 @@ else
source "$PROXYENV_CONFPATH" source "$PROXYENV_CONFPATH"
else else
echo "custom configuration location '$PROXYENV_CONFPATH' not exists" >&2 echo "custom configuration location '$PROXYENV_CONFPATH' not exists" >&2
echo "exiting...' echo "exiting..."
exit 1 exit 1
fi fi
fi fi
if [[ -z "$PROXYENV_TARGET_PROXY" ]] ; then if [[ -z "$PROXYENV_TARGET_PROXY" ]] ; then
echo "cannot find PROXYENV_TARGET_PROXY" >&2 echo "cannot find PROXYENV_TARGET_PROXY" >&2
echo "exiting...' echo "exiting..."
exit 1 exit 1
fi fi