summaryrefslogtreecommitdiffstats
path: root/perl-install/network/isdn.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r--perl-install/network/isdn.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index cb5622552..c41876b6d 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -95,7 +95,7 @@ sub isdn_read_config {
foreach ('link/myisp', 'card/mycard') {
my %conf = getVarsFromSh("$::prefix/etc/isdn/profile/$_");
foreach (keys %conf) {
- $isdn->{$match{$_}} = $conf{$_} if $match{$_};
+ $isdn->{$match{$_}} = $conf{$_} if $match{$_} && $conf{$_};
}
}