update-grub fails if no *-kdump files
Bug #53727 reported by
Tormod Volden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Fix Released
|
High
|
Ben Collins |
Bug Description
edgy knot-1 (grub 0.97-11ubuntu6):
update-grub fails and stops with "ls: /boot/*-kdump: No such file or directory" and /boot/grub/menu.lst is therefore not updated.
Since the update-grub script has "-e" set, the failing ls makes the script abort.
Changed in grub: | |
assignee: | nobody → ben-collins |
importance: | Untriaged → High |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
This patch just adds "|| true" after the "ls", so that the script can go on in case of missing kdump files, and successfully update menu.lst.