summarylogtreecommitdiffstats
path: root/Xsession-loginshell.patch
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 23:42:10 -0600
committerBrian Bidulock2015-06-10 23:42:10 -0600
commit7ef35475517e83576680273dab1802f59df56513 (patch)
tree48a8c66f32d608b22bf75cb6a8d4134591dd629c /Xsession-loginshell.patch
downloadaur-7ef35475517e83576680273dab1802f59df56513.tar.gz
initial version
Diffstat (limited to 'Xsession-loginshell.patch')
-rw-r--r--Xsession-loginshell.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/Xsession-loginshell.patch b/Xsession-loginshell.patch
new file mode 100644
index 000000000000..3710752efa62
--- /dev/null
+++ b/Xsession-loginshell.patch
@@ -0,0 +1,15 @@
+--- config/Xsession.cpp.orig 2008-06-21 13:57:36.000000000 +0000
++++ config/Xsession.cpp 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"