summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/exception.py b/exception.py
index 5c7ef9c96..cb6a60328 100644
--- a/exception.py
+++ b/exception.py
@@ -291,11 +291,11 @@ def copyExceptionToDisk(anaconda, device):
if os.access("/sbin/mkdosfs", os.X_OK):
cmd = "/sbin/mkdosfs"
- iutil.execWithRedirect (cmd, ["/tmp/floppy"], stdout = '/dev/tty5',
+ iutil.execWithRedirect (cmd, [file], stdout = '/dev/tty5',
stderr = '/dev/tty5')
try:
- isys.mount(device, "/tmp/crash", fstype = "vfat")
+ isys.mount(file, "/tmp/crash", fstype = "vfat")
except SystemError:
return False