mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-08 12:40:36 +01:00
Quote the DBUS_SESSION_BUS_ADDRESS variable in the shell file
Some D-Bus daemon versions set multiple addresses separated by semi-colon, which breaks sourcing of the file. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=94746 Signed-off-by: Thiago Macieira <thiago@kde.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
78362cfc62
commit
07af048dd2
1 changed files with 1 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ set_address_in_file (char *address, pid_t pid, Window wid)
|
|||
"# If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will\n"
|
||||
"# be used rather than this file.\n"
|
||||
"# See \"man dbus-launch\" for more details.\n"
|
||||
"DBUS_SESSION_BUS_ADDRESS=%s\n"
|
||||
"DBUS_SESSION_BUS_ADDRESS='%s'\n"
|
||||
"DBUS_SESSION_BUS_PID=%ld\n"
|
||||
"DBUS_SESSION_BUS_WINDOWID=%ld\n",
|
||||
get_machine_uuid (),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue