Restored become, woops

This commit is contained in:
Lutchy Horace 2021-03-17 17:59:23 -04:00
parent 64ba71e028
commit 485868e23e
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ else
exit 1
fi
# gain priviledges
become "$@"
OPTS=$(getopt -o h -l domain:,root:,backend:,listenip:,desc:,donotredirect -n 'createVhosts' -- "$@")
if [ "$?" -gt '0' ]; then
echo 'Failed to set command line arguments'