mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Merge pull request #582 from pagdot/patch-1
Use fixed strings for grep patterns
This commit is contained in:
@@ -18,7 +18,7 @@ else
|
|||||||
if [ "${VAR_VALUE}" == "null" ]; then
|
if [ "${VAR_VALUE}" == "null" ]; then
|
||||||
VAR_VALUE=""
|
VAR_VALUE=""
|
||||||
fi
|
fi
|
||||||
if ! grep -q "${VAR}=\"${VAR_VALUE}\"" "/auto-proxy/${CONTAINER}.conf"; then
|
if ! grep -F -q "${VAR}=\"${VAR_VALUE}\"" "/auto-proxy/${CONTAINER}.conf"; then
|
||||||
AUTO_GEN="${CONTAINER} ${AUTO_GEN}"
|
AUTO_GEN="${CONTAINER} ${AUTO_GEN}"
|
||||||
echo "**** Labels for ${CONTAINER} changed, will generate new conf. ****"
|
echo "**** Labels for ${CONTAINER} changed, will generate new conf. ****"
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user