Skip to content

Commit

Permalink
#1244: don't use a specific bind path, allows socket-dir to specify w…
Browse files Browse the repository at this point in the history
…here the socket should be placed

git-svn-id: https://xpra.org/svn/Xpra/trunk@12947 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 2, 2016
1 parent 9eb3be7 commit bdf0973
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,7 @@ def bstr(b):
#but this should not be included in the default config for all users!
#(the buildbot's uid!)
socket_dirs = [x for x in socket_dirs if x.find(str(os.getuid()))<0]
def addtrailingslash(v):
if v.endswith("/"):
return v
return v+"/"
bind = addtrailingslash(socket_dirs[0])
bind = "auto"
#FIXME: we should probably get these values from the default config instead
pdf, postscript = "", ""
if os.name=="posix" and printing_ENABLED:
Expand Down

0 comments on commit bdf0973

Please sign in to comment.