summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 5bb72c94b..0cf943425 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -444,9 +444,7 @@ sub pppConfig {
my ($in, $modem, $prefix) = @_;
$modem or return;
- if ($modem->{device} ne "/dev/modem") {
- devfssymlinkf($modem, 'modem', $prefix) or log::l("creation of $prefix/dev/modem failed")
- }
+ devfssymlinkf($modem, 'modem', $prefix) if $modem->{device} ne "/dev/modem";
$in->do_pkgs->install('ppp') if !$::testing;
my %toreplace;