summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-04 18:29:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-04 18:29:38 +0000
commitf9e8f5bacf6791f642218ea1e6536d8227fc5d5d (patch)
tree0f0099a7af36696a3dbc3190eb05b5e22ab6e581 /perl-install/network
parentaffeb728eb84141dabb2f4bb3e727d7c8e2c05fc (diff)
downloaddrakx-f9e8f5bacf6791f642218ea1e6536d8227fc5d5d.tar
drakx-f9e8f5bacf6791f642218ea1e6536d8227fc5d5d.tar.gz
drakx-f9e8f5bacf6791f642218ea1e6536d8227fc5d5d.tar.bz2
drakx-f9e8f5bacf6791f642218ea1e6536d8227fc5d5d.tar.xz
drakx-f9e8f5bacf6791f642218ea1e6536d8227fc5d5d.zip
my' variables as needed
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,