Add more details to error message in docker-entrypoint.sh

This commit is contained in:
jieggii 2024-08-08 14:40:02 +03:00
parent 2d5e9553c8
commit fb47bf7d0a

View File

@ -22,7 +22,7 @@ file_env() {
file_content=$(cat "$file_path")
export "$var_name=$file_content"
else
echo "error: file '$file_path' does not exist"
echo "error: $var_name=$file_path: file '$file_path' does not exist"
exit 1
fi
fi