From dc04d89f2120859df75bf5a392f3719cabc05802 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 17 May 2007 17:56:20 +0000 Subject: * vnc.py (askVncWindow): Check for an executable Xvnc. --- vnc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnc.py') 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: -- cgit