diff options
author | Chris Lumens <clumens@redhat.com> | 2008-10-01 17:19:46 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-10-01 17:19:46 -0400 |
commit | 8fc99d649aaf21b991efc18bd4b84dc11faf99e2 (patch) | |
tree | 1d5ff709b01a9ad6afdf2a922ac1b23fa59ec197 /vnc.py | |
parent | d7898c1527b928323ab25325f9c304ce3cd92230 (diff) | |
download | anaconda-8fc99d649aaf21b991efc18bd4b84dc11faf99e2.tar.gz anaconda-8fc99d649aaf21b991efc18bd4b84dc11faf99e2.tar.xz anaconda-8fc99d649aaf21b991efc18bd4b84dc11faf99e2.zip |
If there's an error running Xvnc, also print it to the console.
This is only "helpful" in the weird case where you try to run anaconda in
vnc mode on the livecd or similar environment, where there is no Xvnc.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,6 +36,7 @@ _ = lambda x: gettext.ldgettext("anaconda", x) import logging log = logging.getLogger("anaconda") +stdoutLog = logging.getLogger("anaconda.stdout") class VncServer: @@ -229,7 +230,7 @@ class VncServer: try: xvncp = subprocess.Popen(xvnccommand, stdout=self.openlogfile(), stderr=subprocess.STDOUT) except: - log.critical("Could not start the VNC server. Aborting.") + stdoutLog.critical("Could not start the VNC server. Aborting.") sys.exit(1) # Lets give the xvnc time to initialize |