summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--vnc.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ebc5d820a..73577b7ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-17 David Cantrell <dcantrell@redhat.com>
+
+ * vnc.py (askVncWindow): Check for an executable Xvnc.
+
2007-05-17 Jeremy Katz <katzj@redhat.com>
* upgrade.py (upgrade_remove_blacklist): Add esound to the list
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: