summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/network.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 1111e1759..20edc0b0c 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -23,8 +23,7 @@ use log;
#-######################################################################################
sub read_conf {
my ($file) = @_;
- my %netc = getVarsFromSh($file);
- \%netc;
+ +{ getVarsFromSh($file) };
}
sub read_resolv_conf {