jobextra/xorg-xdm/Xsession-loginshell.patch

15 lines
392 B
Diff

--- config/Xsession.in.orig 2008-06-21 13:57:36.000000000 +0000
+++ config/Xsession.in 2008-06-21 14:01:25.000000000 +0000
@@ -56,11 +56,7 @@
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"