From d5b1390bf57fe840339862637f0ed88438eab8a5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 20 Jul 2002 10:07:16 +0000 Subject: devfssymlinkf doesn't have any return value, so don't check it --- perl-install/any.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perl-install/any.pm') 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; -- cgit v1.2.1