summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authoranton@openbsd.org <anton@openbsd.org>2021-07-29 15:34:09 +0000
committerDamien Miller <djm@mindrot.org>2021-08-03 11:08:46 +1000
commite4673b7f67ae7740131a4ecea29a846593049a91 (patch)
treec3b7c06bc61939c18e62106ab1a31514e2a897f9 /regress
parent197e29f1cca190d767c4b2b63a662f9a9e5da0b3 (diff)
upstream: 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@ OpenBSD-Regress-ID: 4fe5814b5010dbf0885500d703bea06048d11005
Diffstat (limited to 'regress')
-rw-r--r--regress/agent-getpeereid.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/agent-getpeereid.sh b/regress/agent-getpeereid.sh
index 52434081..ddeef01f 100644
--- a/regress/agent-getpeereid.sh
+++ b/regress/agent-getpeereid.sh
@@ -15,7 +15,7 @@ else
fi
case "x$SUDO" in
xsudo) sudo=1;;
- xdoas) ;;
+ xdoas|xdoas\ *) ;;
x)
echo "need SUDO to switch to uid $UNPRIV"
echo SKIPPED