summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-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 f25e00c72..8eff41c9b 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -38,7 +38,7 @@ sub read_secret_backend {
foreach my $i ("pap-secrets", "chap-secrets") {
foreach (cat_("$prefix/etc/ppp/$i")) {
my ($login, $server, $passwd) = split(' ');
- ($a, $b, $c) = $passwd =~ /"(.*)"|'(.*)'|(.*)/;
+ my ($a, $b, $c) = $passwd =~ /"(.*)"|'(.*)'|(.*)/;
$passwd = $a ? $a : $b ? $b : $c;
push @$conf, {login => $login,
passwd => $passwd,