mirror of
https://github.com/PaiGramTeam/telegram-bot-api-build.git
synced 2024-11-22 06:57:52 +00:00
Add more details to error message in docker-entrypoint.sh
This commit is contained in:
parent
2d5e9553c8
commit
fb47bf7d0a
@ -22,7 +22,7 @@ file_env() {
|
|||||||
file_content=$(cat "$file_path")
|
file_content=$(cat "$file_path")
|
||||||
export "$var_name=$file_content"
|
export "$var_name=$file_content"
|
||||||
else
|
else
|
||||||
echo "error: file '$file_path' does not exist"
|
echo "error: $var_name=$file_path: file '$file_path' does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user