From 06ac2b2e7fa4ac622f450b7b6ec01d4353d281c7 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 13 Feb 2019 18:34:29 +0100 Subject: [PATCH] fix: dev: [apache] fix some disturbing code that should not have had any consequence --- apache/lib/common | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apache/lib/common b/apache/lib/common index 75c11ebf..a8429531 100644 --- a/apache/lib/common +++ b/apache/lib/common @@ -97,7 +97,7 @@ $(if [ "$custom_rules" ]; then domain=$(get_domain "$cfg") || return 1 relation-set domain "$domain" - echo "$vhost_statement"| file_put "$APACHE_CONFIG_LOCATION/$prefix$domain.conf" || return 1 + echo "$vhost_statement" | file_put "$APACHE_CONFIG_LOCATION/$domain.conf" || return 1 creds=$(e "$cfg" | cfg-get-value creds 2>/dev/null) || true if [ "$creds" ]; then @@ -206,7 +206,6 @@ ssl_get_plugin_fun() { type="$(echo "$cfg" | shyaml -y get-type 2>/dev/null)" || return 1 if [[ "$type" == "bool" ]]; then printf "%s\0" "ssl_fallback" "" "$cfg" - echo ssl_fallback return 0 fi @@ -248,7 +247,6 @@ ssl_get_plugin_fun() { fi ## No key of the struct seem to be declared cert-provider, so fallback printf "%s\0" "ssl_fallback" "" "$cfg" - echo ssl_fallback }