summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-19 09:52:35 -0400
committerChris Lumens <clumens@redhat.com>2008-09-19 09:52:35 -0400
commitdd67f29315a1ae6bde02b3e178fa91237801cb05 (patch)
treea4b7efcccd171c49a86dea7633c630235f1f7402 /anaconda
parent88f4937c04e068165ec8a546e17a8ca2a0428504 (diff)
downloadanaconda-dd67f29315a1ae6bde02b3e178fa91237801cb05.tar.gz
anaconda-dd67f29315a1ae6bde02b3e178fa91237801cb05.tar.xz
anaconda-dd67f29315a1ae6bde02b3e178fa91237801cb05.zip
Look for xrandr in the search path.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda6
1 files changed, 3 insertions, 3 deletions
diff --git a/anaconda b/anaconda
index 5e6491028..8f4447ed2 100755
--- a/anaconda
+++ b/anaconda
@@ -93,11 +93,11 @@ def doStartupX11Actions(runres="800x600"):
if runres != current_res and miniwm_pid is not None:
try:
isys.vtActivate(6)
- iutil.execWithRedirect("xrandr", ["-s", runres],
+ iutil.execWithRedirect("xrandr", ["-s", runres], searchPath=1,
stdout="/dev/tty5", stderr="/dev/tty5")
time.sleep(5)
- except:
- pass
+ except Exception, e:
+ log.error("Exception when running xrandr: %s" % str(e))
if miniwm_pid is not None: