summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2013-01-08 18:23:47 -0600
committerDavid Lehman <dlehman@redhat.com>2013-01-28 13:13:20 -0600
commitab3226fba6869ffe1418cb992035719406a4214d (patch)
tree38fcb979a348a7ea5319854bfccf56be4f228678 /anaconda
parent70d89aef92622c08932e5fe3da78f81e5bd36658 (diff)
downloadanaconda-ab3226fba6869ffe1418cb992035719406a4214d.tar.gz
anaconda-ab3226fba6869ffe1418cb992035719406a4214d.tar.xz
anaconda-ab3226fba6869ffe1418cb992035719406a4214d.zip
Handle sending program output to tty5 through the logging setup.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda6
1 files changed, 2 insertions, 4 deletions
diff --git a/anaconda b/anaconda
index 4cf4b120f..032b35d60 100755
--- a/anaconda
+++ b/anaconda
@@ -125,13 +125,11 @@ def set_x_resolution(runres):
try:
log.info("Setting the screen resolution to: %s.", runres)
iutil.execWithRedirect("xrandr",
- ["-d", ":1", "-s", runres],
- stdout="/dev/tty5", stderr="/dev/tty5")
+ ["-d", ":1", "-s", runres])
except RuntimeError as e:
log.error("The X resolution not set")
iutil.execWithRedirect("xrandr",
- ["-d", ":1", "-q"],
- stdout="/dev/tty5", stderr="/dev/tty5")
+ ["-d", ":1", "-q"])
def setupPythonUpdates():
from distutils.sysconfig import get_python_lib