From 485868e23e0b3b1cd9d936acfa2d2657b84bbdca Mon Sep 17 00:00:00 2001 From: Lutchy Horace Date: Wed, 17 Mar 2021 17:59:23 -0400 Subject: [PATCH] Restored become, woops --- createVhosts.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/createVhosts.sh b/createVhosts.sh index c3461cc..1e43c00 100755 --- a/createVhosts.sh +++ b/createVhosts.sh @@ -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'