Ignore failure of lsusb when gathering information for bug reports (Closes: #569725)

svn path=/dists/trunk/linux-2.6/; revision=15161
This commit is contained in:
Ben Hutchings 2010-02-16 02:42:05 +00:00
parent a878e850af
commit 50a54703bd
2 changed files with 3 additions and 5 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ linux-2.6 (2.6.32-9) UNRELEASED; urgency=low
[ Ben Hutchings ]
* Do not build obsolete lgs8gl5 driver
* [x86] Enable USB IP drivers (Closes: #568903)
* Ignore failure of lsusb when gathering information for bug reports
(Closes: #569725)
[ maximilian attems]
* Postinst don't refercence k-p related manpage. (Closes: #542208)

View File

@ -1,10 +1,6 @@
add_usb() {
echo '** USB devices:' >&3
if command -v lsusb >/dev/null; then
lsusb >&3
else
echo 'not available' >&3
fi
lsusb >&3 2>/dev/null || echo 'not available' >&3
echo >&3
}