diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-12 05:49:37 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-12 05:49:37 +0000 |
commit | a1da9bf0a05a882cc2d10b60b602555352a870e6 (patch) | |
tree | c7f46187373968c16159f986a1bd5c310a0e5947 /floppy.py | |
parent | 9d9a52521140926fe2303a3ff0620736cfe3e093 (diff) | |
download | anaconda-a1da9bf0a05a882cc2d10b60b602555352a870e6.tar.gz anaconda-a1da9bf0a05a882cc2d10b60b602555352a870e6.tar.xz anaconda-a1da9bf0a05a882cc2d10b60b602555352a870e6.zip |
fix for bootdisk issues
Diffstat (limited to 'floppy.py')
-rw-r--r-- | floppy.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -49,7 +49,10 @@ def probeFloppyDevice(): log("anaconda floppy device is %s", fdDevice) return fdDevice -def makeBootdisk (intf, floppyDevice, hdList, instPath, bootloader): +def makeBootdisk (intf, dir, floppyDevice, hdList, instPath, bootloader): + if dir == DISPATCH_BACK: + return DISPATCH_NOOP + if flags.test: return DISPATCH_NOOP @@ -60,7 +63,7 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath, bootloader): "be ERASED during creation of the boot disk."), type="custom", custom_buttons=[_("Cancel"), _("Make boot disk")]) - if rc: + if not rc: return DISPATCH_NOOP # this is faster then waiting on mkbootdisk to fail |