From: Ulrich Dangel Date: Wed, 4 Nov 2009 09:49:50 +0000 (+0100) Subject: Also set GRML_DEFAULT when running with --dry-run. Thanks to Moritz X-Git-Tag: v0.9.18~4 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=989a8914f5c8e58de60c1915fc8fee426e922b07 Also set GRML_DEFAULT when running with --dry-run. Thanks to Moritz Augsburger for his report. --- diff --git a/grml2usb b/grml2usb index 361e6a0..35c7225 100755 --- a/grml2usb +++ b/grml2usb @@ -1220,6 +1220,8 @@ def install_iso_files(grml_flavour, iso_mount, device, target): # * catch "install: .. No space left on device" & CO if options.dryrun: + global GRML_DEFAULT + GRML_DEFAULT = grml_flavour return 0 elif not options.bootloaderonly: logging.info("Copying files. This might take a while....")