summaryrefslogtreecommitdiffstats
path: root/anaconda_log.py
diff options
context:
space:
mode:
Diffstat (limited to 'anaconda_log.py')
-rw-r--r--anaconda_log.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/anaconda_log.py b/anaconda_log.py
index 72e73bd9f..25f9163cd 100644
--- a/anaconda_log.py
+++ b/anaconda_log.py
@@ -9,7 +9,10 @@ class LogFile:
def open (self, serial, reconfigOnly, test, setupFilesystems):
if reconfigOnly:
- self.logFile = open("/tmp/reconfig.log", "w")
+ try:
+ self.logFile = open("/var/log/reconfig.log", "w")
+ except:
+ self.logFile = sys.stderr
elif not setupFilesystems:
self.logFile = sys.stderr
elif serial: