summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-10 21:52:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-10 21:52:19 +0000
commit9fa119e54bb2d23b4806d8aebf053d6ce3dfde42 (patch)
tree828a5463505a54cf857cfa3f2df1211f65e9f24e /perl-install
parent7d0f4a76be6c2592abc7ba5fd7657ed71c06a872 (diff)
downloaddrakx-9fa119e54bb2d23b4806d8aebf053d6ce3dfde42.tar
drakx-9fa119e54bb2d23b4806d8aebf053d6ce3dfde42.tar.gz
drakx-9fa119e54bb2d23b4806d8aebf053d6ce3dfde42.tar.bz2
drakx-9fa119e54bb2d23b4806d8aebf053d6ce3dfde42.tar.xz
drakx-9fa119e54bb2d23b4806d8aebf053d6ce3dfde42.zip
small cleanup
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;
}