Commit a9e48ab1 authored by Jeremy Thomerson's avatar Jeremy Thomerson Committed by Natanael Copa
Browse files

require root to run setup-alpine-web

parent fb0bc52b
......@@ -123,6 +123,12 @@ EOF
exit 0
# require root
if [ "$(id -u)" != "0" ]; then
echo "ERROR: This script must be run as root" 1>&2
exit 1
# parse args
while getopts "b:c:d:H:hR:" opts; do
case "$opts" in
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment