From 6c8b0af39cc489e9dbeef812943a193d41416830 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 16 Jan 2004 23:06:01 +0000 Subject: prevent faillure when trying to dereference undef in testing mode --- perl-install/network/tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(' '); -- cgit v1.2.1