diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2007-03-27 12:49:33 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2007-03-27 12:49:33 +0000 |
commit | d102e62b3d226cb20e11023df16e30c5e250db30 (patch) | |
tree | 81334cd8bc2e84969171e927e1863e698a0b30c3 /sbin | |
parent | 7809be2428670f9289549c317c27e1e8769c1b7d (diff) | |
download | common-data-d102e62b3d226cb20e11023df16e30c5e250db30.tar common-data-d102e62b3d226cb20e11023df16e30c5e250db30.tar.gz common-data-d102e62b3d226cb20e11023df16e30c5e250db30.tar.bz2 common-data-d102e62b3d226cb20e11023df16e30c5e250db30.tar.xz common-data-d102e62b3d226cb20e11023df16e30c5e250db30.zip |
Don't output error if no session file is present
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/fndSession | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/fndSession b/sbin/fndSession index e6f6b44..4fd7c7c 100755 --- a/sbin/fndSession +++ b/sbin/fndSession @@ -11,7 +11,13 @@ umask 022 -for f in /etc/X11/dm.d/*.conf; do +FILES=`/bin/ls /etc/X11/dm.d/*.conf 2> /dev/null` + +if [ $? != 0 ]; then + exit 0 +fi + +for f in $FILES; do EXEC= FNDSESSION_EXEC= eval `grep 'EXEC=' "$f"` |