summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2009-06-16 10:56:34 -0400
committerJeremy Katz <katzj@redhat.com>2009-06-16 14:50:23 -0400
commit3e00a977fe7ed01aecb62ac60a273c997f9ef715 (patch)
treecf51b026da25649ddf934f5fedf622816eb467bc
parent377f305dc6929f32c3565dbc63da3f4d1e2f7a49 (diff)
downloadanaconda-3e00a977fe7ed01aecb62ac60a273c997f9ef715.tar.gz
anaconda-3e00a977fe7ed01aecb62ac60a273c997f9ef715.tar.xz
anaconda-3e00a977fe7ed01aecb62ac60a273c997f9ef715.zip
Include the contents of /proc/cmdline in exception reports
Include /proc/cmdline in exception dumps so that we can see what arguments people are trying to pass without having to ask every single time.
-rw-r--r--exception.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/exception.py b/exception.py
index cc03dba2b..3c614ead6 100644
--- a/exception.py
+++ b/exception.py
@@ -229,7 +229,8 @@ class AnacondaExceptionDump:
"/tmp/lvmout", "/tmp/resize.out",
"/tmp/program.log", "/tmp/storage.log",
anaconda.rootPath + "/root/install.log",
- anaconda.rootPath + "/root/upgrade.log"):
+ anaconda.rootPath + "/root/upgrade.log",
+ "/proc/cmdline"):
try:
f = open(file, 'r')
line = "\n\n%s:\n" % (file,)