From 14373a782e55b16e71c5b89c236ce0ed8a9bc6b6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 24 Mar 2004 16:03:22 +0000 Subject: (isdn_read_config) do not overwrite current parameters with undefed ones --- perl-install/network/isdn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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{$_}; } } -- cgit v1.2.1