summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-13 19:51:18 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-13 19:51:18 -0700
commit5ef443bb6bff0a03ee00105d9bf95bc3f6f82b11 (patch)
treed0eb57801e6cba3136412efcf0d20d608be9a6d8
parentc1b70ca67ecd12d6837584e7ef4abd01ee3b7ad9 (diff)
Apple: privileged_startx is in XINITDIR
-rw-r--r--startx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/startx.cpp b/startx.cpp
index 81042bc..c31f424 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -102,8 +102,8 @@ if [ x`defaults read org.x.X11 cache_fonts` = x1 ] ; then
fi
fi
-if [ -x /usr/X11/bin/privileged_startx ] ; then
- /usr/X11/bin/privileged_startx &
+if [ -x XINITDIR/privileged_startx ] ; then
+ XINITDIR/privileged_startx &
fi
if [ x`defaults read org.x.X11 no_auth` = x0 ] ; then