init.d: fix apply of TPWS_SOCKS_OPT to tpws socks mode

This commit is contained in:
bol-van
2024-10-31 18:34:05 +03:00
parent ebb89c48e0
commit 228572afb5
3 changed files with 3 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ standard_mode_daemons()
[ "$TPWS_SOCKS_ENABLE" = 1 ] && {
opt="--socks --user=$WS_USER --port=$TPPORT_SOCKS"
tpws_apply_socks_binds opt
opt="$opt $TPWS_OPT"
opt="$opt $TPWS_SOCKS_OPT"
filter_apply_hostlist_target opt
do_daemon $1 2 "$TPWS" "$opt"
}