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 fe8c335b0..700056eff 100644
--- a/perl-install/modparm.pm
+++ b/perl-install/modparm.pm
@@ -26,7 +26,7 @@ sub get_options_name($) {
my @names;
$modinfo = $::isStandalone ? '/sbin/modinfo' : '/usr/bin/modinfo';
-e $modinfo or die _('modinfo is not available');
- if($::isStandalone) {
+ if ($::isStandalone) {
my @line = `$modinfo -p $module`;
} else {
modules::extract_modules('/tmp', $module);
@@ -51,7 +51,6 @@ sub get_options_name($) {
push @names, $_;
}
}
- print "yop : @names \n";
@names;
}