summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-16 23:06:01 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-16 23:06:01 +0000
commit6c8b0af39cc489e9dbeef812943a193d41416830 (patch)
tree6e75a0442c272c5536cf898fe86604b130d660b8 /perl-install/network/tools.pm
parente35e3deadb1e227c85f38632132eef242f5f790c (diff)
downloaddrakx-6c8b0af39cc489e9dbeef812943a193d41416830.tar
drakx-6c8b0af39cc489e9dbeef812943a193d41416830.tar.gz
drakx-6c8b0af39cc489e9dbeef812943a193d41416830.tar.bz2
drakx-6c8b0af39cc489e9dbeef812943a193d41416830.tar.xz
drakx-6c8b0af39cc489e9dbeef812943a193d41416830.zip
prevent faillure when trying to dereference undef in testing mode
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 73d7d8223..6fe4c047c 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -42,7 +42,7 @@ sub unquotify {
}
sub read_secret_backend() {
- my $conf;
+ my $conf = [];
foreach my $i ("pap-secrets", "chap-secrets") {
foreach (cat_("$prefix/etc/ppp/$i")) {
my ($login, $server, $passwd) = split(' ');