Bug#586985: [grub-common] Regression: grub-probe fails

Colin Watson cjwatson at debian.org
Tue Jun 29 15:14:22 UTC 2010


On Tue, Jun 29, 2010 at 06:45:01PM +0400, Vadim Solomin wrote:
> On a side note, /usr/sbin/grub-mkconfig starts with "#!/bin/sh -e", and 
> running the command you suggested (without additional -e) succeeds, creating a 
> broken grub.cfg:

Oops, I should have said 'sh -ex' then.

> So is there any reason for not using set -e in grub-mkconfig, or should 
> another (wishlist?) bug be filed about this?

Thanks.  I'll change it upstream to use 'set -e' rather than '#!/bin/sh
-e', which does tend to suffer from this kind of problem.  No need for
another bug report.

-- 
Colin Watson                                       [cjwatson at debian.org]





More information about the Pkg-grub-devel mailing list