Move letsencrypt arg to create_args

This commit is contained in:
Michael Vines
2019-07-09 21:26:56 -07:00
parent 11f0333728
commit 8ae11a74fa

View File

@ -259,6 +259,11 @@ if ! $skipCreate; then
# shellcheck disable=SC2206
create_args+=(${zone_args[@]})
if [[ -n $maybeLetsEncrypt ]]; then
# shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt
create_args+=($maybeLetsEncrypt)
fi
if $blockstreamer; then
create_args+=(-u)
fi
@ -349,10 +354,6 @@ if ! $skipStart; then
# shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick
args+=($maybeHashesPerTick)
fi
if [[ -n $maybeLetsEncrypt ]]; then
# shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt
args+=($maybeLetsEncrypt)
fi
if $reuseLedger; then
args+=(-r)
fi