X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=e608ac145de4253a71b80b40e220652aa937aa1b;hp=e32495426199f5abc5f9e7b07ea41c34fa77e429;hb=6868425f2674bc1443cb75bbb78991908d58646c;hpb=371c60ef53b067bb6fcada208a3efbc72050033c diff --git a/grml2usb b/grml2usb index e324954..e608ac1 100755 --- a/grml2usb +++ b/grml2usb @@ -1736,6 +1736,9 @@ def check_options(opts): if opts.grubmbr and not opts.grub: raise CriticalException("--grub-mbr requires --grub option.") + if opts.copyonly and opts.grub: + raise CriticalException("Cannot use --copy-only and --grub at the same time.") + def check_programs(): """check if all needed programs are installed"""