summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index b0a1a8349..ac64fe54a 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -287,7 +287,7 @@ sub all {
my $d = shift;
local *F;
- opendir F, $d or die "all: can't open dir $d: $!\n";
+ opendir F, $d or return;
my @l = grep { $_ ne '.' && $_ ne '..' } readdir F;
closedir F;