Fixed SHADOWSOCKS env variable check

This commit is contained in:
Quentin McGaw (desktop)
2019-12-20 12:05:02 +00:00
parent a21bb009e5
commit af5c7c648d

View File

@@ -132,7 +132,7 @@ if [ "$TINYPROXY" == "on" ]; then
fi fi
exitIfNotIn SHADOWSOCKS "on,off" exitIfNotIn SHADOWSOCKS "on,off"
if [ "$SHADOWSOCKS" == "on" ]; then if [ "$SHADOWSOCKS" == "on" ]; then
exitIfNotIn SHADOWSOCKS_LOG "on,off" exitIfNotIn SHADOWSOCKS "on,off"
if [ -z $SHADOWSOCKS_PORT ]; then if [ -z $SHADOWSOCKS_PORT ]; then
SHADOWSOCKS_PORT=8388 SHADOWSOCKS_PORT=8388
fi fi