diff options
author | root <root@rshg054.dnsready.net> | 2013-05-05 01:06:44 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-05 01:06:44 -0700 |
commit | 7a600dcabb6923ee79d36a4eaab2fc6867bdb807 (patch) | |
tree | bd75ff45c676ff5c7e8744686901ffdcecf6f7b1 /core/dbus/30-dbus | |
parent | 5f3b2100b811506bec6bcf63b24d1c605dfe8cb6 (diff) |
Sun May 5 01:06:40 PDT 2013
Diffstat (limited to 'core/dbus/30-dbus')
-rw-r--r-- | core/dbus/30-dbus | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/dbus/30-dbus b/core/dbus/30-dbus index 69d2660da..42b3a5ff7 100644 --- a/core/dbus/30-dbus +++ b/core/dbus/30-dbus @@ -1,8 +1,6 @@ #!/bin/bash # launches a session dbus instance - -dbuslaunch="`which dbus-launch 2>/dev/null`" -if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then - eval `$dbuslaunch --sh-syntax --exit-with-session` +if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && type dbus-launch >/dev/null; then + eval $(dbus-launch --sh-syntax --exit-with-session) fi |