diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-16 23:06:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-16 23:06:01 +0000 |
commit | 6c8b0af39cc489e9dbeef812943a193d41416830 (patch) | |
tree | 6e75a0442c272c5536cf898fe86604b130d660b8 | |
parent | e35e3deadb1e227c85f38632132eef242f5f790c (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/network/tools.pm | 2 |
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(' '); |