bug 693343 - comment check of DBUS_SESSION_BUS_ADDRESS

This commit is contained in:
Trevor Saunders 2012-01-05 21:47:59 -05:00
Родитель 94931765ea
Коммит d58fe9d9c1
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -884,6 +884,9 @@ PreInit()
sChecked = TRUE;
// dbus is only checked if GNOME_ACCESSIBILITY is unset
// also make sure that a session bus address is available to prevent dbus from
// starting a new one. Dbus confuses the test harness when it creates a new
// process (see bug 693343)
if (PR_GetEnv(sAccEnv) || !PR_GetEnv("DBUS_SESSION_BUS_ADDRESS"))
return;