]> code.ossystems Code Review - openembedded-core.git/commitdiff
xserver-kdrive-common: check for execute bit on dbus-launch, not just presence
authorRoss Burton <ross@openedhand.com>
Mon, 7 Apr 2008 14:16:38 +0000 (14:16 +0000)
committerRoss Burton <ross@openedhand.com>
Mon, 7 Apr 2008 14:16:38 +0000 (14:16 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4180 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xsession

index ccda4b65ad99199aaa912d7ec5681b4bf3b6e4ad..1f326c7fe468fbb220250519dc0a8fd7a13e5fe0 100644 (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"