X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=8fd69091f6b6969bae8b57b89805e3bb592094c6;hp=35c7225cf2abf5958216c83295cb9e555779147b;hb=e603a9b7ef9c52ecd51e32773e361d03df86c4ae;hpb=989a8914f5c8e58de60c1915fc8fee426e922b07 diff --git a/grml2usb b/grml2usb index 35c7225..8fd6909 100755 --- a/grml2usb +++ b/grml2usb @@ -1894,6 +1894,10 @@ def main(): if options.dryrun: logging.info("Running in simulation mode as requested via option dry-run.") + if options.grubmbr and not options.grub: + logging.critical("Error: --grub-mbr requires --grub option.") + sys.exit(1) + # specified arguments device = args[len(args) - 1] isos = args[0:len(args) - 1]