mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 07:08:10 +00:00
Fix option validation in start.sh
This commit is contained in:
parent
229ca2b6b8
commit
8ecc6bd2eb
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
|
@ -51,7 +51,7 @@ done
|
|||
# if at least one option is set...
|
||||
if [ -n "${PORT}" -o -n "${SECRET}" -o -n "${TAG}" ]; then
|
||||
# If at least one of them not set...
|
||||
[ -z "${PORT}" -o -z "${SECRET}" -o -z "${SECRET}" ] && \
|
||||
[ -z "${PORT}" -o -z "${SECRET}" -o -z "${TAG}" ] && \
|
||||
error "Not enough options: -p '${PORT}' -s '${SECRET}' -t '${TAG}'"
|
||||
|
||||
# validate format
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue