initial import
This commit is contained in:
17
xorg-xdm/Xsession-loginshell.patch
Normal file
17
xorg-xdm/Xsession-loginshell.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user