diff --git a/config/Xsession.cpp b/config/Xsession.cpp index 36ccbd0..0bf8a7c 100644 --- a/config/Xsession.cpp +++ b/config/Xsession.cpp @@ -53,11 +53,7 @@ startup=$HOME/.xsession resources=$HOME/.Xresources if [ -s "$startup" ]; then - if [ -x "$startup" ]; then - exec "$startup" - else - exec /bin/sh "$startup" - fi + exec /bin/sh -ls -c "$startup" else if [ -r "$resources" ]; then BINDIR/xrdb -load "$resources"