xserver-kdrive-common: check for execute bit on dbus-launch, not just presence

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4180 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton 2008-04-07 14:16:38 +00:00
parent ea0ec5af1a
commit a3b7d74c34
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export HOME_VOLATILE
HOME=/home/$USER
export HOME
if [ -f /usr/bin/dbus-launch ]; then
if [ -x /usr/bin/dbus-launch ]; then
# As this is the X session script, always start a new DBus session.
eval `dbus-launch --sh-syntax --exit-with-session`
echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"