summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-11-30 13:57:37 -0500
committerBill Nottingham <notting@redhat.com>2007-11-30 13:57:37 -0500
commitcd30989825cd7c8f25bad2343aa384e0de03b909 (patch)
tree1d129375c4f82b5f32561374e0e2e749c7fb4695 /exception.py
parent0db5fd8e64b2fdd8c3da0e879310ad7c82bb8402 (diff)
downloadanaconda-cd30989825cd7c8f25bad2343aa384e0de03b909.tar.gz
anaconda-cd30989825cd7c8f25bad2343aa384e0de03b909.tar.xz
anaconda-cd30989825cd7c8f25bad2343aa384e0de03b909.zip
fix references to point to the device we created earlier
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