forked from enlightenment/enlightenment
and on osx - they use some other env var apparently.
SVN revision: 47281
This commit is contained in:
parent
f72b20676a
commit
40cb95e25f
|
@ -529,7 +529,8 @@ main(int argc, char **argv)
|
|||
snprintf(buf, sizeof(buf), "%s/bin/enlightenment", _prefix_path);
|
||||
|
||||
args = alloca((argc + 2 + VALGRIND_MAX_ARGS) * sizeof(char *));
|
||||
if (!getenv("DBUS_SESSION_BUS_ADDRESS"))
|
||||
if ((!getenv("DBUS_SESSION_BUS_ADDRESS")) &&
|
||||
(!getenv("DBUS_LAUNCHD_SESSION_BUS_SOCKET")))
|
||||
{
|
||||
args[0] = "dbus-launch";
|
||||
args[1] = "--exit-with-session";
|
||||
|
|
Loading…
Reference in New Issue