diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-05-17 17:56:20 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-05-17 17:56:20 +0000 |
commit | dc04d89f2120859df75bf5a392f3719cabc05802 (patch) | |
tree | 0cd891763a3318445b966a4fffeaac9f0c4118f6 /vnc.py | |
parent | 887a8c3f1f3634d793d68aa4dfa5e24cf2d1b819 (diff) | |
download | anaconda-dc04d89f2120859df75bf5a392f3719cabc05802.tar.gz anaconda-dc04d89f2120859df75bf5a392f3719cabc05802.tar.xz anaconda-dc04d89f2120859df75bf5a392f3719cabc05802.zip |
* vnc.py (askVncWindow): Check for an executable Xvnc.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ 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'): + if not os.access('/usr/bin/Xvnc', os.X_OK): return -1 if network.hasActiveNetDev() == False: |