summaryrefslogtreecommitdiff
path: root/regress/agent-getpeereid.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2011-01-16 22:53:56 -0800
committerTim Rice <tim@multitalents.net>2011-01-16 22:53:56 -0800
commit6dfcd34042197e904a6c92e277d6b60a58e7a90a (patch)
treee1f31788e4127852a36432f024dd9bcab9b486dd /regress/agent-getpeereid.sh
parent58497780ab22d56ac5216c71f5a20efc1e39ce2e (diff)
downloadopenssh-git-6dfcd34042197e904a6c92e277d6b60a58e7a90a.tar.gz
- (tim) [regress/agent-getpeereid.sh] shell portability fix.
Diffstat (limited to 'regress/agent-getpeereid.sh')
-rw-r--r--regress/agent-getpeereid.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/agent-getpeereid.sh b/regress/agent-getpeereid.sh
index f5f5ba55..faf654c0 100644
--- a/regress/agent-getpeereid.sh
+++ b/regress/agent-getpeereid.sh
@@ -7,7 +7,9 @@ UNPRIV=nobody
ASOCK=${OBJ}/agent
SSH_AUTH_SOCK=/nonexistent
-if ! config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED ; then
+if config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED ; then
+ :
+else
echo "skipped (not supported on this platform)"
exit 0
fi