From 989a8914f5c8e58de60c1915fc8fee426e922b07 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Wed, 4 Nov 2009 10:49:50 +0100 Subject: [PATCH] Also set GRML_DEFAULT when running with --dry-run. Thanks to Moritz Augsburger for his report. --- grml2usb | 2 ++ 1 file changed, 2 insertions(+) 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....") -- 2.1.4