[gdm] Ignore execute subfolders under /etc/X11/xinit/xinitrc.d/
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gdm] Ignore execute subfolders under /etc/X11/xinit/xinitrc.d/
- Date: Tue, 12 Jan 2010 16:54:30 +0000 (UTC)
commit a998fc72ac782353fa2378c51221d369ac2686d4
Author: Halton Huo <halton huo sun com>
Date: Tue Jan 12 11:52:19 2010 -0500
Ignore execute subfolders under /etc/X11/xinit/xinitrc.d/
https://bugzilla.gnome.org/show_bug.cgi?id=606609
data/Xsession.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/Xsession.in b/data/Xsession.in
index d972056..6c7761a 100755
--- a/data/Xsession.in
+++ b/data/Xsession.in
@@ -180,7 +180,7 @@ fi
# run all system xinitrc shell scripts.
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for i in /etc/X11/xinit/xinitrc.d/* ; do
- if [ -x "$i" ]; then
+ if [ -x "$i" -a ! -d "$i" ]; then
. "$i"
fi
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]