summaryrefslogtreecommitdiffstats
path: root/perl-install/modparm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modparm.pm')
-rw-r--r--perl-install/modparm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm
index 50130e1a9..a30afe425 100644
--- a/perl-install/modparm.pm
+++ b/perl-install/modparm.pm
@@ -26,8 +26,7 @@ sub get_options_name($) {
$modinfo = '/sbin/modinfo';
-e $modinfo or $modinfo = '/usr/bin/modinfo';
-e $modinfo or die _('modinfo is not available');
- my @line = `/sbin/modinfo -p $module`;
- print "yop : @line \n";
+ my @line = `$modinfo -p $module`;
foreach (@line) {
chomp;
s/int/: (integer/;