]> git.proxmox.com Git - grub2.git/blobdiff - util/grub-reboot.in
Fix an infinite loop in grub-mkconfig
[grub2.git] / util / grub-reboot.in
index f0d93617c2ca21fed15b0df4912392f382a5e001..225fe5f218813befa313dffaf9732d779017a112 100644 (file)
@@ -54,7 +54,7 @@ usage () {
     gettext "MENU_ENTRY is a number, a menu item title or a menu item identifier. Please note that menu items in
 submenus or sub-submenus require specifying the submenu components and then the
 menu item component. The titles should be separated using the greater-than
-character (>) with no extra spaces. Depending on your shell some characters including > may need escpaing. More information about this is available
+character (>) with no extra spaces. Depending on your shell some characters including > may need escaping. More information about this is available
 in the GRUB Manual in the section about the 'default' command. "; echo
     echo
     gettext "Report bugs to <bug-grub@gnu.org>."; echo
@@ -65,7 +65,7 @@ argument () {
   shift
 
   if test $# -eq 0; then
-      gettext_printf "%s: option requires an argument -- \`%s'\n" "$0" "$opt" 1>&2
+      gettext_printf "%s: option requires an argument -- \`%s'\n" "$self" "$opt" 1>&2
       exit 1
   fi
   echo $1