X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml2usb;h=6f9eec9cb69e204a7e42876f20a830dbb2cc50a9;hb=refs%2Ftags%2Fv0.9.18;hp=35c7225cf2abf5958216c83295cb9e555779147b;hpb=989a8914f5c8e58de60c1915fc8fee426e922b07;p=grml2usb.git diff --git a/grml2usb b/grml2usb index 35c7225..6f9eec9 100755 --- a/grml2usb +++ b/grml2usb @@ -20,7 +20,7 @@ import fileinput import glob # global variables -PROG_VERSION = "0.9.17-pre1" +PROG_VERSION = "0.9.18" MOUNTED = set() # register mountpoints TMPFILES = set() # register tmpfiles DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg @@ -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]