Fix sudo check

This commit is contained in:
RealStickman 2021-06-06 12:12:19 +02:00
parent 129160b82d
commit 9ebe418ddb

View File

@ -3,7 +3,7 @@ set -euo pipefail
# check if user is root
if [ "$EUID" -ne 0 ]; then
sudo -l > /dev/null
sudo -v
fi
cat <<EOF