parental-control: fix path used to check if urlfiltering is enabled

This commit is contained in:
Mohd Husaam Mehdi 2025-06-18 18:17:41 +05:30
parent 89c1fbb38a
commit bd63c5a090

View file

@ -38,7 +38,7 @@ configure_fw_rules() {
fi fi
if [ "${urlfilter}" -eq "1" ]; then if [ "${urlfilter}" -eq "1" ]; then
if [ ! -f "${DM_PLUGIN_PATH}" ]; then if [ ! -f "${OVERRIDE_JSON}" ]; then
# throw error # throw error
log "ERROR: urlfiltering disabled at compile time but enabled in config" log "ERROR: urlfiltering disabled at compile time but enabled in config"
else else