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
This commit is contained in:
parent
197e29f1cc
commit
e4673b7f67
|
@ -15,7 +15,7 @@ else
|
||||||
fi
|
fi
|
||||||
case "x$SUDO" in
|
case "x$SUDO" in
|
||||||
xsudo) sudo=1;;
|
xsudo) sudo=1;;
|
||||||
xdoas) ;;
|
xdoas|xdoas\ *) ;;
|
||||||
x)
|
x)
|
||||||
echo "need SUDO to switch to uid $UNPRIV"
|
echo "need SUDO to switch to uid $UNPRIV"
|
||||||
echo SKIPPED
|
echo SKIPPED
|
||||||
|
|
Loading…
Reference in New Issue