dnsmasq: fix handling ignore condition for dnssec
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dnsmasq.init
index d387c902855a8bb9167ba7d6f9e6a646861e4d67..0fa3074f92ddab4c711208e16f9e86c8b09afd52 100644 (file)
@@ -48,6 +48,7 @@ dnsmasq_ignore_opt() {
                                echo "dnsmasq: \"$opt\" requested, but dnssec support is not available" >&2
                                exit 1
                        fi
+                       return 1
                        ;;
                tftp-*)
                        [ -z "$dnsmasq_has_tftp" ] ;;