Skip to content

Commit

Permalink
Move get_domain to bootstrap()
Browse files Browse the repository at this point in the history
  • Loading branch information
jjakob committed Jan 31, 2020
1 parent b6d4dd1 commit 9da5a8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion certbot_zimbra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ bootstrap() {
[ -z "$DETECTED_ZIMBRA_VERSION" ] && echo "Error: Unable to detect zimbra version" && exit 1
! "$QUIET" && echo "Detected Zimbra $DETECTED_ZIMBRA_VERSION on $PLATFORM"

get_domain

return 0
}

Expand Down Expand Up @@ -665,7 +667,6 @@ done

## actions
bootstrap
get_domain

if ! "$DEPLOY_ONLY"; then
if "$NO_NGINX"; then
Expand Down

0 comments on commit 9da5a8d

Please sign in to comment.