diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-01-09 16:04:11 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-01-09 16:04:11 +0000 |
commit | e540455208d9906deece2c1407ccbbc600dd51a4 (patch) | |
tree | 069ecd1ba6c7bee624f47fbe3f0d91db8e4fc82a /vnc.py | |
parent | 37d83d76016cb8f80c4ad4c00b80a350b2d2f794 (diff) | |
download | anaconda-e540455208d9906deece2c1407ccbbc600dd51a4.tar.gz anaconda-e540455208d9906deece2c1407ccbbc600dd51a4.tar.xz anaconda-e540455208d9906deece2c1407ccbbc600dd51a4.zip |
* vnc.py (askVncWindow): Only ask the user to run VNC if Xvnc is
present.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,6 +28,9 @@ log = logging.getLogger("anaconda") # return -1 to use text mode, None for no vncpass, or vncpass otherwise def askVncWindow(): + if not os.path.isfile('/usr/bin/Xvnc'): + return -1 + if network.hasActiveNetDev() == False: return -1 |