From 50a54703bd1fdb2dacbae49f3f9415f0d8a4b871 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Tue, 16 Feb 2010 02:42:05 +0000 Subject: [PATCH] Ignore failure of lsusb when gathering information for bug reports (Closes: #569725) svn path=/dists/trunk/linux-2.6/; revision=15161 --- debian/changelog | 2 ++ debian/templates/image.plain.bug/include-usb | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 993b0d03c..b7b34bf9a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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) diff --git a/debian/templates/image.plain.bug/include-usb b/debian/templates/image.plain.bug/include-usb index 00eaf6c93..e8eb67e42 100644 --- a/debian/templates/image.plain.bug/include-usb +++ b/debian/templates/image.plain.bug/include-usb @@ -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 }