summaryrefslogtreecommitdiff
path: root/regress/allow-deny-users.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-12-19 22:35:23 +0000
committerDamien Miller <djm@mindrot.org>2016-12-20 09:35:51 +1100
commitc8c60f3663165edd6a52632c6ddbfabfce1ca865 (patch)
tree0e04557f6731358916b45966ec72fbceaf4db428 /regress/allow-deny-users.sh
parent4a354fc231174901f2629437c2a6e924a2dd6772 (diff)
upstream commit
use standard /bin/sh equality test; from Mike Frysinger Upstream-Regress-ID: 7b6f0b63525f399844c8ac211003acb8e4b0bec2
Diffstat (limited to 'regress/allow-deny-users.sh')
-rw-r--r--regress/allow-deny-users.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/allow-deny-users.sh b/regress/allow-deny-users.sh
index 32a269af..86805e19 100644
--- a/regress/allow-deny-users.sh
+++ b/regress/allow-deny-users.sh
@@ -4,7 +4,7 @@
tid="AllowUsers/DenyUsers"
me="$LOGNAME"
-if [ "x$me" == "x" ]; then
+if [ "x$me" = "x" ]; then
me=`whoami`
fi
other="nobody"