projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
989a891
)
Make sure that --grub-mbr requires --grub. Thanks to Moritz Augsburger and
author
Ulrich Dangel
<uli@spamt.net>
Wed, 4 Nov 2009 10:04:44 +0000
(11:04 +0100)
committer
Ulrich Dangel
<uli@spamt.net>
Wed, 4 Nov 2009 10:04:44 +0000
(11:04 +0100)
mika for the bug report.
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
35c7225
..
8fd6909
100755
(executable)
--- 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.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]
# specified arguments
device = args[len(args) - 1]
isos = args[0:len(args) - 1]