Make reportbug script file robust against su authentication failures and

missing LVM commands.
This commit is contained in:
Colin Watson 2013-08-11 13:13:19 +02:00
parent 8c12a88cb4
commit 1c9d91b63c
2 changed files with 8 additions and 1 deletions

2
debian/bug-script vendored
View File

@ -44,7 +44,7 @@ yesno "Do you want to provide LVM volume information?" nop
if [ "$REPLY" = yep ]; then
echo >&3
echo "*********************** BEGIN LVM" >&3
su root -c "vgdisplay; pvdisplay; lvdisplay" >&3
su root -c "vgdisplay; pvdisplay; lvdisplay" >&3 || true
echo "*********************** END LVM" >&3
fi

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
grub2 (2.00-16) UNRELEASED; urgency=low
* Make reportbug script file robust against su authentication failures and
missing LVM commands.
-- Colin Watson <cjwatson@debian.org> Sun, 11 Aug 2013 12:12:54 +0100
grub2 (2.00-15) unstable; urgency=low
[ Colin Watson ]