Bug#572301: why not check for syntax errors BEFORE they lock one out of ones computer

jidanni at jidanni.org jidanni at jidanni.org
Wed Mar 3 02:10:08 UTC 2010


X-debbugs-cc: bug-grub at gnu.org
Package: grub-common
Version: 1.98~experimental.20100120-1
File: /usr/bin/grub-script-check

I have an idea, why not run grub-script-check when grub.cfg is made,
$ grub-script-check /boot/grub/grub.cfg; echo $?
syntax error
1

That way the user would be aware that if they just left things as they
are, he will be in for a unhappy surprise the next time he tries in vain
to boot his computer.





More information about the Pkg-grub-devel mailing list