remove root user check

This commit is contained in:
Tobias Powalowski 2021-10-15 12:18:12 +02:00
parent f91913a071
commit d3ff5de077

View file

@ -29,12 +29,6 @@ while [ $# -gt 0 ]; do
shift shift
done done
### check for root
if ! [[ ${UID} -eq 0 ]]; then
echo "ERROR: Please run as root user!"
exit 1
fi
if [[ -z "${NAME}" ]]; then if [[ -z "${NAME}" ]]; then
echo "ERROR: no name specified" echo "ERROR: no name specified"
usage usage