summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-19 09:10:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-19 09:10:34 +0000
commit7812851e877473619ac2955ee34ffdd8267d79a9 (patch)
tree5823ba0c90afcdc4ae8e824d150eefcb87cdca4d /perl-install/network
parent3e366ee1c097795dcf2204a4c8df61e087decaab (diff)
downloaddrakx-7812851e877473619ac2955ee34ffdd8267d79a9.tar
drakx-7812851e877473619ac2955ee34ffdd8267d79a9.tar.gz
drakx-7812851e877473619ac2955ee34ffdd8267d79a9.tar.bz2
drakx-7812851e877473619ac2955ee34ffdd8267d79a9.tar.xz
drakx-7812851e877473619ac2955ee34ffdd8267d79a9.zip
(read_conf) simplify
Diffstat (limited to 'perl-install/network')
-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 {