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:
@@ -54,7 +54,7 @@ if [ -z "${port}" ]; then
|
||||
usage; exit 1 ;
|
||||
fi
|
||||
|
||||
if [ -z "${xuser[@]}" ]; then
|
||||
if [ "${#xuser[@]}" -eq 0 ]; then
|
||||
>&2 echo -e "Error: User undefined.\n"
|
||||
usage; exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user