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 }