Only set PIHOLE_SKIP_FTL_CHECK if not already set by env variable

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König 2025-03-03 22:02:25 +01:00
parent 2e36bdbf15
commit f3059d1239
No known key found for this signature in database

View file

@ -141,7 +141,9 @@ EOM
# The runUnattended flag is one example of this # The runUnattended flag is one example of this
repair=false repair=false
runUnattended=false runUnattended=false
if [ -z "$PIHOLE_SKIP_FTL_CHECK" ]; then
PIHOLE_SKIP_FTL_CHECK=false PIHOLE_SKIP_FTL_CHECK=false
fi
# Check arguments for the undocumented flags # Check arguments for the undocumented flags
for var in "$@"; do for var in "$@"; do
case "$var" in case "$var" in