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 193a72bdcd
commit 02d7b16ef1
No known key found for this signature in database

View File

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