mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-27 11:53:10 +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) ;;
|
||||
x)
|
||||
echo "need SUDO to switch to uid $UNPRIV"
|
||||
echo SKIPPED
|
||||
exit 0 ;;
|
||||
*)
|
||||
echo "unsupported $SUDO - "doas" and "sudo" are allowed"
|
||||
|
Loading…
Reference in New Issue
Block a user