We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05ccf98 + 87950f1 commit f802dd3Copy full SHA for f802dd3
docker-entrypoint.sh
@@ -12,7 +12,7 @@ if env | grep -q '^PA_.\+=.\+'; then
12
echo "\"PA_${VAR_NAME}\" in Environment variable contains '-',this will be ignored."
13
continue
14
fi
15
- CONF_ITEM=$(grep -Eio "${VAR_NAME/_/-}|${VAR_NAME}" /app/conf/app.conf)
+ CONF_ITEM=$(grep -Eio "${VAR_NAME/_/-}|${VAR_NAME}" /app/conf/app.conf|tail -n 1)
16
if [[ -z ${CONF_ITEM} ]]; then
17
echo "\"PA_${VAR_NAME}\" in Environment variable not found from config file"
18
0 commit comments