summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-05-13 16:25:49 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-05-13 16:25:49 -0700
commitd3bc7001315a8ba13be073af86fe710740b2d4c3 (patch)
tree41622b9c163140633831cab824df0f93e33707c7 /startx.cpp
parentef7abe2e72074f8252f0812ab2ca05dff7e76a38 (diff)
Check for proper cookie creation on all platforms
Diffstat (limited to 'startx.cpp')
-rw-r--r--startx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/startx.cpp b/startx.cpp
index c93812f..fde780f 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -256,11 +256,11 @@ if [ x"$enable_xauth" = x1 ] ; then
else
mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"`
fi
+#endif
if test x"$mcookie" = x; then
echo "Couldn't create cookie"
exit 1
fi
-#endif
dummy=0
XCOMM create a file with auth information for the server. ':0' is a dummy.