diff options
author | Jeremy Huddleston <jeremy@yuffie.local> | 2007-12-20 16:50:39 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremy@yuffie.local> | 2007-12-20 16:50:39 -0800 |
commit | d1c968926fa2fe36b612d4ebc948d73e6e0f6c01 (patch) | |
tree | f47be36bd8a47f815de9763a980f74108e5218f9 | |
parent | 73a2dd64576328de712ee792d569a88550e4ddb4 (diff) |
OS-X: Made defaults test more robust
-rw-r--r-- | startx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,13 +72,13 @@ clientargs="" serverargs="" #ifdef __APPLE__ -if [ `defaults read org.x.X11 no_auth` = 0 ] ; then +if [ x`defaults read org.x.X11 no_auth` = x0 ] ; then enable_xauth=1 else enable_xauth=0 fi -if [ `defaults read org.x.X11 nolisten_tcpip` = 1 ] ; then +if [ x`defaults read org.x.X11 nolisten_tcp` = x1 ] ; then defaultserverargs="-nolisten tcp" fi #else |