summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--startx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/startx.cpp b/startx.cpp
index 810fd23..48d40aa 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -278,7 +278,7 @@ if [ x"$enable_xauth" = x1 ] ; then
add :$dummy . $mcookie
EOF
#if defined(__APPLE__) || defined(__CYGWIN__)
- serverargs=${serverargs}" -auth '"${xserverauthfile}"'"
+ serverargs=${serverargs}" -auth '"${xserverauthfile//\'/\'\\\'\'}"'"
#else
serverargs=${serverargs}" -auth "${xserverauthfile}
#endif