From 5ef443bb6bff0a03ee00105d9bf95bc3f6f82b11 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 13 Apr 2008 19:51:18 -0700 Subject: Apple: privileged_startx is in XINITDIR --- startx.cpp | 4 ++-- 1 file 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 -- cgit v1.2.3