summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-25 23:19:06 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-25 23:19:06 +0000
commite5280bb6562129bf7617a24784b19da4cbd7abc8 (patch)
treea235c94f27074e22dc3787e24af63a109d49816f
parent4c76716e9eef58c7de7dab27bdeca33a2980b726 (diff)
Bug #3860: Avoid a bashism. (Diego Pettenò)
-rw-r--r--startx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/startx.cpp b/startx.cpp
index a96b505..d085800 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -177,7 +177,7 @@ XCOMM server man need it. Add them to the '$xserverauthfile' instead.
for displayname in $authdisplay $hostname$authdisplay; do
authcookie=`xauth list "$displayname" @@
| sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
- if [ "z${authcookie}" == "z" ] ; then
+ if [ "z${authcookie}" = "z" ] ; then
xauth -q << EOF
add $displayname . $mcookie
EOF