blob: 868c52a0564e6839360fb3b7357da746bb2cec46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/x2goserver-xsession/etc/Xsession b/x2goserver-xsession/etc/Xsession
index b9ef15e..94692db 100755
--- a/x2goserver-xsession/etc/Xsession
+++ b/x2goserver-xsession/etc/Xsession
@@ -139,7 +139,9 @@ elif [ -f /etc/redhat-release ] || [ -f /etc/gentoo-release ]; then
# Set up i18n environment
if [ -r /etc/profile.d/lang.sh ]; then
+ set +e
. /etc/profile.d/lang.sh
+ set -e
fi
# merge in defaults
@@ -177,7 +179,9 @@ elif [ -f /etc/redhat-release ] || [ -f /etc/gentoo-release ]; then
# run all system xinitrc shell scripts.
for file in /etc/x2go/xinitrc.d/* ; do
+ set +e
[ -r "$file" ] && . $file
+ set -e
done
# Prefix launch of session with ssh-agent if available and not already running.
--
1.7.9.5
|