summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 1df5e18f1..8ae8abb6a 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -30,7 +30,7 @@ sub read_resolv_conf_raw {
my ($file) = @_;
$file ||= "$::prefix/etc/resolv.conf";
{ nameserver => [ cat_($file) =~ /^\s*nameserver\s+(\S+)/mg ],
- search => [ cat_($file) =~ /^\s*search\s+(\S+)/mg ] };
+ search => [ if_(cat_($file) =~ /^\s*search\s+(.*)/m, split(' ', $1)) ] };
}
sub read_resolv_conf {