Harmonize parameter processing order.

This commit is contained in:
Manuel Friedli 2020-11-24 21:21:44 +01:00
parent f5180a5e57
commit 5078363348

View file

@ -202,14 +202,14 @@ function set_default_values() {
if [[ -z "${autopilot}" ]]; then
autopilot=0
fi
if [[ -z "${netmask}" ]]; then
netmask=0
if [[ -z "${bancountries}" ]]; then
bancountries=("CN")
fi
if [[ -z "${jail}" ]]; then
jail="apache-auth"
fi
if [[ -z "${bancountries}" ]]; then
bancountries=("CN")
if [[ -z "${netmask}" ]]; then
netmask=0
fi
if [[ -z "${port}" ]]; then
port=443