summarylogtreecommitdiffstats
path: root/Xsession-loginshell.patch
blob: d93523e11ce14b6728f0dc22d21d7bfebf0a04ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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"