summaryrefslogtreecommitdiffstats
path: root/floppy.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-12 05:49:37 +0000
committerMike Fulbright <msf@redhat.com>2002-06-12 05:49:37 +0000
commita1da9bf0a05a882cc2d10b60b602555352a870e6 (patch)
treec7f46187373968c16159f986a1bd5c310a0e5947 /floppy.py
parent9d9a52521140926fe2303a3ff0620736cfe3e093 (diff)
downloadanaconda-a1da9bf0a05a882cc2d10b60b602555352a870e6.tar.gz
anaconda-a1da9bf0a05a882cc2d10b60b602555352a870e6.tar.xz
anaconda-a1da9bf0a05a882cc2d10b60b602555352a870e6.zip
fix for bootdisk issues
Diffstat (limited to 'floppy.py')
-rw-r--r--floppy.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/floppy.py b/floppy.py
index 48f3d802f..8edb1a0d4 100644
--- a/floppy.py
+++ b/floppy.py
@@ -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