summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index ad8519635..314b572ee 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -95,7 +95,7 @@ sub load_category {
eval { load([ $_->{driver}, $_->{options} ]) };
$_->{error} = $@;
- !($@ && $_->{try});
+ !($_->{error} && $_->{try});
} probe_category($category, $probe_type),
map { { driver => $_, description => $_, try => 1 } } @try_modules;
}