summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2021-07-29 15:34:10 +0000
committeranton <anton@cvs.openbsd.org>2021-07-29 15:34:10 +0000
commitd01539560d1562477a4c98a95aadabc938f739ec (patch)
tree1b24b1c27b3825ecdeeccffc2c466aaf4e8b83ef /regress
parentbe2b9de39572847afdcb1ce9e44d916361311506 (diff)
Treat doas with arguments as a valid SUDO variable. Allows one to
specify SUDO="doas -n" which I do while running make regress. ok dtucker@
Diffstat (limited to 'regress')
-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 147fd90882d..4afe7f5277b 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.11 2019/11/26 23:43:10 djm Exp $
+# $OpenBSD: agent-getpeereid.sh,v 1.12 2021/07/29 15:34:09 anton Exp $
# Placed in the Public Domain.
tid="disallow agent attach from other uid"
@@ -9,7 +9,7 @@ SSH_AUTH_SOCK=/nonexistent
case "x$SUDO" in
xsudo) sudo=1;;
- xdoas) ;;
+ xdoas|xdoas\ *) ;;
x)
if [ -x /usr/local/bin/sudo -a -f /etc/sudoers ]; then
sudo=1