mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-29 05:02:47 +00:00
upstream: Replace fatal with exit in the case that we do not have
$SUDO set. Prevents test failures when neither sudo nor doas are configured. OpenBSD-Regress-ID: 6a0464decc4f8ac7d6eded556a032b0fc521bc7b
This commit is contained in:
parent
3e9d3192ad
commit
b5e9263c77
@ -18,6 +18,7 @@ case "x$SUDO" in
|
|||||||
xdoas) ;;
|
xdoas) ;;
|
||||||
x)
|
x)
|
||||||
echo "need SUDO to switch to uid $UNPRIV"
|
echo "need SUDO to switch to uid $UNPRIV"
|
||||||
|
echo SKIPPED
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*)
|
*)
|
||||||
echo "unsupported $SUDO - "doas" and "sudo" are allowed"
|
echo "unsupported $SUDO - "doas" and "sudo" are allowed"
|
||||||
|
Loading…
Reference in New Issue
Block a user