minor, fix dns param

This commit is contained in:
neilpang committed 2017-07-29 15:23:50 +08:00
1 parent a6a0495392
commit a5c56c547d
1 file changed
+1 -1
+1 -1
View File
@@ -5440,7 +5440,7 @@ _process() {
;; ;;
--dns) --dns)
wvalue="dns" wvalue="dns"
if ! _startswith "$2" "-"; then if [ "$2" ] && ! _startswith "$2" "-"; then
wvalue="$2" wvalue="$2"
shift shift
fi fi