summaryrefslogtreecommitdiffstats
path: root/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'log.py')
-rw-r--r--log.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/log.py b/log.py
index a8133c306..72e73bd9f 100644
--- a/log.py
+++ b/log.py
@@ -8,12 +8,12 @@ class LogFile:
self.logFile.close ()
def open (self, serial, reconfigOnly, test, setupFilesystems):
- if not setupFilesystems:
+ if reconfigOnly:
+ self.logFile = open("/tmp/reconfig.log", "w")
+ elif not setupFilesystems:
self.logFile = sys.stderr
elif serial:
self.logFile = open("/tmp/install.log", "w")
- elif reconfigOnly:
- self.logFile = open("/tmp/reconfig.log", "w")
elif test:
self.logFile = open("/tmp/anaconda-debug.log", "w")
else: