diff options
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index d015e5897..543ea7e0f 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -407,7 +407,8 @@ sub pppConfig { my ($in, $modem, $prefix, $install) = @_; $modem or return; - symlinkf($modem->{device}, "$prefix/dev/modem") or log::l("creation of $prefix/dev/modem failed"); + if_($modem->{device} ne "$prefix/dev/modem", + symlinkf($modem->{device}, "$prefix/dev/modem") or log::l("creation of $prefix/dev/modem failed")); $install->(qw(ppp)) unless $::testing; my %toreplace; |