Skip to content

Commit 5516ba7

Browse files
committed
resolvconf: Fix multiple nameserver entries
Fixes #35.
1 parent ff0bc13 commit 5516ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resolvconf.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ parse_resolv()
277277
if $islocal; then
278278
echo "LOCALNAMESERVERS=\"\$LOCALNAMESERVERS $value\""
279279
else
280-
ns="$value "
280+
ns="$ns${ns:+ }$value"
281281
fi
282282
;;
283283
"domain "*)

0 commit comments

Comments
 (0)