mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-19 14:53:20 -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
|
||||
VAR_VALUE=""
|
||||
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}"
|
||||
echo "**** Labels for ${CONTAINER} changed, will generate new conf. ****"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user