summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorAlexander von Gernler <grunk@cvs.openbsd.org>2005-11-14 21:25:57 +0000
committerAlexander von Gernler <grunk@cvs.openbsd.org>2005-11-14 21:25:57 +0000
commit576146635f381760027774f7b812a22908bccff5 (patch)
tree63f13f1dffb3b0d8751af7f378f477a5bf011ea7 /regress/usr.bin
parent0972ca93078e283a400d558de8707a6fff572feb (diff)
all other scripts in this dir use $SUDO, not 'sudo', so pull this even
ok markus@
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/ssh/agent-getpeereid.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/agent-getpeereid.sh b/regress/usr.bin/ssh/agent-getpeereid.sh
index 0889fe80e3f..fac93c9a924 100644
--- a/regress/usr.bin/ssh/agent-getpeereid.sh
+++ b/regress/usr.bin/ssh/agent-getpeereid.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: agent-getpeereid.sh,v 1.1 2002/12/09 16:05:02 markus Exp $
+# $OpenBSD: agent-getpeereid.sh,v 1.2 2005/11/14 21:25:56 grunk Exp $
# Placed in the Public Domain.
tid="disallow agent attach from other uid"
@@ -21,7 +21,7 @@ else
fail "ssh-add failed with $r != 1"
fi
- < /dev/null sudo -S -u ${UNPRIV} ssh-add -l > /dev/null 2>&1
+ < /dev/null ${SUDO} -S -u ${UNPRIV} ssh-add -l > /dev/null 2>&1
r=$?
if [ $r -lt 2 ]; then
fail "ssh-add did not fail for ${UNPRIV}: $r < 2"