Browse Source

Whitespace fixes

pull/2301/head
andrewheberle 6 years ago
committed by GitHub
parent
commit
c7e6ba4368
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      deploy/sophosxg.sh

5
deploy/sophosxg.sh

@ -53,7 +53,7 @@ sophosxg_do_req() {
</Certificate> </Certificate>
</Set> </Set>
</Request> </Request>
" > "$_do_req_xml"
"> "$_do_req_xml"
# dont verify certificate if HTTPS_INSECURE was set # dont verify certificate if HTTPS_INSECURE was set
if [ "$Le_Deploy_sophosxg_https_insecure" = "1" ] || [ "$HTTPS_INSECURE" ]; then if [ "$Le_Deploy_sophosxg_https_insecure" = "1" ] || [ "$HTTPS_INSECURE" ]; then
@ -176,7 +176,6 @@ sophosxg_deploy() {
_req_action_success="no" _req_action_success="no"
for _req_action in update add; do for _req_action in update add; do
_info "Uploading certificate: $_req_action" _info "Uploading certificate: $_req_action"
if sophosxg_do_req "$_req_action" "$_import_pkcs12" "$Le_Deploy_sophosxg_user" "$Le_Deploy_sophosxg_password" "$Le_Deploy_sophosxg_name" "$Le_Deploy_sophosxg_pfx_password" "$Le_Deploy_sophosxg_host"; then if sophosxg_do_req "$_req_action" "$_import_pkcs12" "$Le_Deploy_sophosxg_user" "$Le_Deploy_sophosxg_password" "$Le_Deploy_sophosxg_name" "$Le_Deploy_sophosxg_pfx_password" "$Le_Deploy_sophosxg_host"; then
_req_action_success="yes" _req_action_success="yes"
break break
@ -193,6 +192,6 @@ sophosxg_deploy() {
return 1 return 1
fi fi
return 0
return 0
} }
Loading…
Cancel
Save