diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-25 23:19:06 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-25 23:19:06 +0000 |
commit | e5280bb6562129bf7617a24784b19da4cbd7abc8 (patch) | |
tree | a235c94f27074e22dc3787e24af63a109d49816f /startx.cpp | |
parent | 4c76716e9eef58c7de7dab27bdeca33a2980b726 (diff) |
Bug #3860: Avoid a bashism. (Diego Pettenò)
Diffstat (limited to 'startx.cpp')
-rw-r--r-- | startx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |