Commit a5c56c54 authored by neilpang's avatar neilpang
Browse files

minor, fix dns param

parent a6a04953
......@@ -5440,7 +5440,7 @@ _process() {
;;
--dns)
wvalue="dns"
if ! _startswith "$2" "-"; then
if [ "$2" ] && ! _startswith "$2" "-"; then
wvalue="$2"
shift
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment