Fixed missing space for TELEGRAM_LOG_FILE variable

This commit is contained in:
T1MOXA 2022-08-19 14:21:35 +03:00 committed by GitHub
parent 211a01c800
commit e3c15d9e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ DEFAULT_ARGS="--http-port 8081 --dir=${TELEGRAM_WORK_DIR} --temp-dir=${TELEGRAM_
CUSTOM_ARGS="" CUSTOM_ARGS=""
if [ -n "$TELEGRAM_LOG_FILE" ]; then if [ -n "$TELEGRAM_LOG_FILE" ]; then
CUSTOM_ARGS="--log=${TELEGRAM_LOG_FILE}" CUSTOM_ARGS=" --log=${TELEGRAM_LOG_FILE}"
fi fi
if [ -n "$TELEGRAM_STAT" ]; then if [ -n "$TELEGRAM_STAT" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --http-stat-port=8082" CUSTOM_ARGS="${CUSTOM_ARGS} --http-stat-port=8082"