mock sudo defaults to off. use MOCKSUDO=1 to enable

This commit is contained in:
tim
2024-05-04 17:01:17 -04:00
parent a0a226d1bb
commit 3eab491eac

View File

@@ -7,10 +7,10 @@ DEFAULT_KEY='0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80'
RESULT=0
if [ -z "$NOSUDO" ]; then
SUDO=sudo
else
if [ -z "$MOCKSUDO" ]; then
SUDO=
else
SUDO=sudo
fi
killAndWait() {