summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-06-22 15:34:14 +0000
committerMike Fulbright <msf@redhat.com>2001-06-22 15:34:14 +0000
commitff1db941bc5409f074b267a7f9928d184ea0edbd (patch)
treef44672fd4ac5411b23cf290fe40a36bc5696431b /exception.py
parent7c683b67c3d09964b5f4a9f3ca4557e8157bc405 (diff)
downloadanaconda-ff1db941bc5409f074b267a7f9928d184ea0edbd.tar.gz
anaconda-ff1db941bc5409f074b267a7f9928d184ea0edbd.tar.xz
anaconda-ff1db941bc5409f074b267a7f9928d184ea0edbd.zip
copy syslog to floppy as well. Might die due to size constraints, so wrap it
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/exception.py b/exception.py
index 9f0bcbd29..0c9692f20 100644
--- a/exception.py
+++ b/exception.py
@@ -87,6 +87,13 @@ def handleException( id, intf, (type, value, tb)):
out.write("\n<failed>\n")
out.close()
+
+ # write out any syslog information as well
+ try:
+ iutil.copyFile("/tmp/syslog", "/tmp/crash")
+ except:
+ pass
+
isys.umount("/tmp/crash")
intf.messageWindow(_("Dump Written"),