diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-29 10:47:36 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-29 10:47:36 +0000 |
commit | dbf624ec00b9b8886e8cf854787e9afab9ccda4a (patch) | |
tree | 675f1c564c9202ab0f4f6d07bcf77f426d2b2758 | |
parent | 49b0b68a271f5d30908363215bc121c378c248c6 (diff) | |
download | drakx-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar drakx-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar.gz drakx-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar.bz2 drakx-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.tar.xz drakx-dbf624ec00b9b8886e8cf854787e9afab9ccda4a.zip |
don't print empty rejected list
-rw-r--r-- | kernel/modules.pl | 2 |
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); } |