From 6297a5ec89d9153b992f570cc93f7b99a66c7d72 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 10 Jul 2002 15:49:53 +0000 Subject: typo fix --- perl-install/modparm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm index 623590bc7..d7fc84c0f 100644 --- a/perl-install/modparm.pm +++ b/perl-install/modparm.pm @@ -14,7 +14,7 @@ sub parameters { my ($module) = @_; my $modinfo = '/sbin/modinfo'; - -x $modinfo or { + if (-x $modinfo) { $modinfo = '/usr/bin/modinfo'; -x $modinfo or die _('modinfo is not available'); } -- cgit v1.2.1