Make bug script accept failure of lspci (Closes: #639439)
svn path=/dists/sid/linux-2.6/; revision=18028
This commit is contained in:
parent
ec5e95f481
commit
c7e36cd4fe
|
@ -1,3 +1,10 @@
|
|||
linux-2.6 (3.0.0-4) UNRELEASED; urgency=low
|
||||
|
||||
[ Ben Hutchings ]
|
||||
* Make bug script accept failure of lspci (Closes: #639439)
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Sun, 28 Aug 2011 17:07:47 +0100
|
||||
|
||||
linux-2.6 (3.0.0-3) unstable; urgency=low
|
||||
|
||||
[ Ben Hutchings ]
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
add_pci() {
|
||||
echo '** PCI devices:' >&3
|
||||
if command -v lspci > /dev/null; then
|
||||
lspci -nnvv >&3
|
||||
else
|
||||
echo 'not available' >&3
|
||||
fi
|
||||
lspci -nnvv >&3 2>/dev/null || echo 'not available' >&3
|
||||
echo >&3
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue