diff options
author | root <root@rshg054.dnsready.net> | 2011-10-11 23:14:37 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-11 23:14:37 +0000 |
commit | f482dc1bd42773a12552e5a60df119410a0d8bd8 (patch) | |
tree | 7ef11817f41aecf969aeeb03f0dbb3cc28e2d8b4 /testing/xorg-xdm/Xsession-loginshell.patch | |
parent | cbcf42aba84733e1b9072f5320519c99bf8c0ac7 (diff) |
Tue Oct 11 23:14:37 UTC 2011
Diffstat (limited to 'testing/xorg-xdm/Xsession-loginshell.patch')
-rw-r--r-- | testing/xorg-xdm/Xsession-loginshell.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/xorg-xdm/Xsession-loginshell.patch b/testing/xorg-xdm/Xsession-loginshell.patch new file mode 100644 index 000000000..3710752ef --- /dev/null +++ b/testing/xorg-xdm/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" |