summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'startx.cpp')
-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