diff options
Diffstat (limited to 'x11-misc/lightdm')
-rw-r--r-- | x11-misc/lightdm/files/Xsession | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-misc/lightdm/files/Xsession b/x11-misc/lightdm/files/Xsession index 50ce80fd3e19..d982a0ac89e9 100644 --- a/x11-misc/lightdm/files/Xsession +++ b/x11-misc/lightdm/files/Xsession @@ -50,8 +50,8 @@ command="$@" xinitdir="/etc/X11/xinit/xinitrc.d" if [ -d "$xinitdir" ]; then for script in $xinitdir/*; do - echo "Loading xinit script $script" if [ -x "$script" -a ! -d "$script" ]; then + echo "Loading xinit script $script" . "$script" fi done @@ -62,8 +62,8 @@ xsessionddir="/etc/X11/Xsession.d" if [ -d "$xsessionddir" ]; then for i in `ls $xsessionddir`; do script="$xsessionddir/$i" - echo "Loading X session script $script" if [ -r "$script" -a -f "$script" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then + echo "Loading X session script $script" . "$script" fi done |