Formatting fixes

This commit is contained in:
fomojola authored and GitHub committed 2021-12-30 22:56:47 -05:00
1 parent c209787de8
commit 55d8e2db81
1 file changed
+1 -3
+1 -3
View File
@@ -130,11 +130,9 @@ restart_nginx() {
declare desc="restart nginx for given distros" declare desc="restart nginx for given distros"
local PROXY_ENABLED="$(plugn trigger proxy-is-enabled "$APP")" local PROXY_ENABLED="$(plugn trigger proxy-is-enabled "$APP")"
local PROXY_TYPE="$(plugn trigger proxy-type "$APP")" local PROXY_TYPE="$(plugn trigger proxy-type "$APP")"
if [[ "$PROXY_ENABLED" == "true" ]]; then if [[ "$PROXY_ENABLED" == "true" ]] && [[ "$PROXY_TYPE" == "nginx" ]]; then
if [[ "$PROXY_TYPE" == "nginx" ]]; then
fn-nginx-vhosts-nginx-init-cmd "reload" fn-nginx-vhosts-nginx-init-cmd "reload"
fi fi
fi
} }
nginx_logs() { nginx_logs() {