summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-29 10:47:36 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-29 10:47:36 +0000
commitdbf624ec00b9b8886e8cf854787e9afab9ccda4a (patch)
tree675f1c564c9202ab0f4f6d07bcf77f426d2b2758 /kernel
parent49b0b68a271f5d30908363215bc121c378c248c6 (diff)
downloaddrakx-backup-do-not-use-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar
drakx-backup-do-not-use-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar.gz
drakx-backup-do-not-use-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar.bz2
drakx-backup-do-not-use-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar.xz
drakx-backup-do-not-use-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.zip
don't print empty rejected list
Diffstat (limited to 'kernel')
-rw-r--r--kernel/modules.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index 7e925d62a..173fdafd6 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -220,7 +220,7 @@ sub pci_modules4stage1 {
@listed{qw(usb-ohci usb-uhci uhci bcm4400 3c559 3c90x dc395x_trm)} = ();
my @modules = difference2([ category2modules($category) ], \@modules_removed_from_stage1);
my ($kept, $rejected) = partition { exists $listed{$_} } @modules;
- print STDERR "REJECTED @$rejected\n" if $verbose;
+ print STDERR "REJECTED @$rejected\n" if $verbose && @$rejected;
print "$_\n" foreach uniq(map { dependencies_closure($_) } @$kept);
}