Skip to content

Commit

Permalink
Merge pull request #49 from naftalmm/patch-1
Browse files Browse the repository at this point in the history
Add dbus-launch to dropbox start command.
fix #15
  • Loading branch information
nipunn1313 committed Jun 22, 2018
2 parents a9df18b + 0d81fef commit 78433e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dropbox.in
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def start_dropbox():
if os.access(db_path, os.X_OK):
f = open("/dev/null", "w")
# we don't reap the child because we're gonna die anyway, let init do it
a = subprocess.Popen([db_path], preexec_fn=os.setsid, cwd=os.path.expanduser("~"),
a = subprocess.Popen(["dbus-launch", db_path], preexec_fn=os.setsid, cwd=os.path.expanduser("~"),
stderr=sys.stderr, stdout=f, close_fds=True)

# in seconds
Expand Down

0 comments on commit 78433e8

Please sign in to comment.