Skip to content

Commit

Permalink
on macos, the file exists in "Contents/Helpers" (not a directory thou…
Browse files Browse the repository at this point in the history
…gh!)

git-svn-id: https://xpra.org/svn/Xpra/trunk@17825 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 2, 2018
1 parent 60b97db commit ae26ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/server/auth/exec_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, username, **kwargs):
libexec = get_libexec_dir()
xpralibexec = os.path.join(libexec, "xpra")
log("libexec=%s, xpralibexec=%s", libexec, xpralibexec)
if os.path.exists(xpralibexec):
if os.path.exists(xpralibexec) and os.path.isdir(xpralibexec):
libexec = xpralibexec
auth_dialog = os.path.join(libexec, "auth_dialog")
if EXECUTABLE_EXTENSION:
Expand Down

0 comments on commit ae26ef1

Please sign in to comment.