Merge pull request #1642 from rwall/patch-2

fix(dev-infra): move source to before var ref
This commit is contained in:
4s3ti 2022-10-20 20:12:24 +02:00 committed by GitHub
commit df74230e77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,12 +6,13 @@ pivpnPERSISTENTKEEPALIVE=""
pivpnDNS2=""
setupVars="/etc/pivpn/wireguard/setupVars.conf"
# shellcheck disable=SC2154
userGroup="${install_user}:${install_user}"
# shellcheck disable=SC1090
source "${setupVars}"
# shellcheck disable=SC2154
userGroup="${install_user}:${install_user}"
### Functions
err() {
echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')]: $*" >&2