diff options
author | Damien Miller <djm@mindrot.org> | 2006-01-31 12:02:16 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-01-31 12:02:16 +0100 |
commit | 27a0dfaea9e4bcea6d434a5ea5363869dfe2f73a (patch) | |
tree | 908792aef447cf68906ea00fb53df944b39e5057 /regress/agent-getpeereid.sh | |
parent | - markus@cvs.openbsd.org 2005/06/30 11:02:37 (diff) | |
download | openssh-27a0dfaea9e4bcea6d434a5ea5363869dfe2f73a.tar.xz openssh-27a0dfaea9e4bcea6d434a5ea5363869dfe2f73a.zip |
- grunk@cvs.openbsd.org 2005/11/14 21:25:56
[regress/agent-getpeereid.sh]
all other scripts in this dir use $SUDO, not 'sudo', so pull this even
ok markus@
Diffstat (limited to '')
-rw-r--r-- | regress/agent-getpeereid.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/agent-getpeereid.sh b/regress/agent-getpeereid.sh index 46d20dc2b..6186a8d48 100644 --- a/regress/agent-getpeereid.sh +++ b/regress/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" @@ -27,7 +27,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" |