Ensure failure in update-grub are not masked by postinst

This commit is contained in:
Aurélien COUDERC
2016-11-10 13:17:07 +00:00
parent 502a4ece11
commit 867d7d1a33
+1 -1
View File
@@ -197,7 +197,7 @@ EOF
# Ensure the background image file has actually been written to disc
# before updating.
sync
update-grub || true
update-grub
fi
if which update-initramfs > /dev/null; then