=== modified file 'grub-core/kern/rescue_parser.c' --- grub-core/kern/rescue_parser.c 2010-03-26 23:19:42 +0000 +++ grub-core/kern/rescue_parser.c 2011-11-05 01:15:31 +0000 @@ -52,8 +52,8 @@ /* Get the command name. */ name = args[0]; - /* If nothing is specified, restart. */ - if (*name == '\0') + /* If nothing is specified or a comment, restart. */ + if (*name == '\0' || *name == '#') goto quit; cmd = grub_command_find (name);