Harmonize parameter processing order.

This commit is contained in:
Manuel Friedli 2020-11-24 21:21:44 +01:00
parent f5180a5e57
commit 5078363348
1 changed files with 4 additions and 4 deletions

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