On Wed, Sep 26, 2012 at 03:44:31PM +0800, Michael Chang wrote: > The error message and number are staging in the buffer and it's up to > the module to use grub_print_error (...) to flush all pending messages > to the screen. Nevertheless you could stack errors with push|pop, > which is extremely useful as grub2 could be stacked by modules ..
That is one way to do it, but it's also possible to clear errors you're not interested in without that. There's an "Error Handling" section in docs/grub-dev.texi which you may find useful. -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel