summaryrefslogtreecommitdiffstats
path: root/kernel/modules.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-22 12:10:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-22 12:10:40 +0000
commit161b278cf8a418541f1ddf0f4d08c30bf8a9fe73 (patch)
tree17ece2fbf674933fed02ae06f9568e1d5bc14fa6 /kernel/modules.pl
parent4e40de3afa90688347153a85a194265a171bb621 (diff)
downloaddrakx-backup-do-not-use-161b278cf8a418541f1ddf0f4d08c30bf8a9fe73.tar
drakx-backup-do-not-use-161b278cf8a418541f1ddf0f4d08c30bf8a9fe73.tar.gz
drakx-backup-do-not-use-161b278cf8a418541f1ddf0f4d08c30bf8a9fe73.tar.bz2
drakx-backup-do-not-use-161b278cf8a418541f1ddf0f4d08c30bf8a9fe73.tar.xz
drakx-backup-do-not-use-161b278cf8a418541f1ddf0f4d08c30bf8a9fe73.zip
ustable modules not listed is not an error, just a info
Diffstat (limited to 'kernel/modules.pl')
-rw-r--r--kernel/modules.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index a531c72c1..7851f948e 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -152,8 +152,9 @@ sub check {
if (my @l = difference2(\@l, [ keys %listed ])) {
my %not_listed;
push @{$not_listed{$module2category{$_}}}, $_ foreach @l;
- print STDERR "USBTABLE MODULES NOT LISTED $_: ", join(" ", @{$not_listed{$_}}), "\n" foreach sort keys %not_listed;
- #$error = 1;
+ if ($verbose) {
+ print "usbtable modules not listed $_: ", join(" ", @{$not_listed{$_}}), "\n" foreach sort keys %not_listed;
+ }
}
}