Just warn about illegal options.
[openresolv] / resolvconf.in
index e15ad595ee7a7ffb4ca59b765bd517bb15054ec0..0001126c09fe9f02178e7ef20f8edfb63212b04c 100755 (executable)
@@ -146,7 +146,7 @@ while getopts a:d:fhilm:s:uv OPT; do
        h) usage;;
        m) IF_METRIC="${OPTARG}";;
        s) CMD=s; SERVICE="${OPTARG}";;
-       '?') exit 1;;
+       '?') ;;
        *) CMD="${OPT}"; IFACE="${OPTARG}";;
        esac
 done