Merge pull request #5 from T1MOXA/fix/missing-space

Fixed missing space for TELEGRAM_LOG_FILE variable
This commit is contained in:
Alex Root Junior 2023-02-12 01:04:12 +02:00 committed by GitHub
commit 171f042580
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"