Just warn about illegal options.
authorRoy Marples <roy@marples.name>
Wed, 10 Sep 2008 12:06:41 +0000 (12:06 +0000)
committerRoy Marples <roy@marples.name>
Wed, 10 Sep 2008 12:06:41 +0000 (12:06 +0000)
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