summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2007-05-17 17:56:20 +0000
committerDavid Cantrell <dcantrell@redhat.com>2007-05-17 17:56:20 +0000
commitdc04d89f2120859df75bf5a392f3719cabc05802 (patch)
tree0cd891763a3318445b966a4fffeaac9f0c4118f6 /vnc.py
parent887a8c3f1f3634d793d68aa4dfa5e24cf2d1b819 (diff)
downloadanaconda-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc.py b/vnc.py
index ba0c5ae9e..103b92ae3 100644
--- a/vnc.py
+++ b/vnc.py
@@ -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: