Skip to content

Commit

Permalink
#1740: password_file is now a list, so we have to convert each entry …
Browse files Browse the repository at this point in the history
…into an absolute path (breakage caused by #1728)

git-svn-id: https://xpra.org/svn/Xpra/trunk@17992 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 13, 2018
1 parent 345319e commit 4cd41a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def run_server(error_cb, opts, mode, xpra_file, extra_args, desktop_display=None
if POSIX and opts.daemon:
#daemonize will chdir to "/", so try to use an absolute path:
if opts.password_file:
opts.password_file = os.path.abspath(opts.password_file)
opts.password_file = tuple(os.path.abspath(x) for x in opts.password_file)
from xpra.server.server_util import daemonize
daemonize()

Expand Down

0 comments on commit 4cd41a9

Please sign in to comment.