mirror of
https://github.com/samuelhbne/server-xray.git
synced 2025-12-16 20:07:06 +03:00
Codacy compliant
This commit is contained in:
@@ -126,7 +126,7 @@ inbound=$(echo $inbound| jq -c --argjson JshortIds "${JshortIds}" '.streamSettin
|
||||
# Fallback settings
|
||||
for fb in "${fallback[@]}"
|
||||
do
|
||||
IFS=':'; fopt=(${fb}); fopt=(${fopt[@]})
|
||||
IFS=':'; fopt=("${fb}"); fopt=("${fopt[@]}")
|
||||
fhost="${fopt[0]}"; fport="${fopt[1]}"; fpath="${fopt[2]}"
|
||||
unset IFS
|
||||
if [ -z "${fport}" ]; then >&2 echo -e "Incorrect fallback format: $fb\n"; usage; exit 1; fi
|
||||
|
||||
Reference in New Issue
Block a user