fix syntax if custom option is an 'if' expression
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-10-03 13:29:59 +02:00
parent c1d97f9bbc
commit 72f9430be4
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ server {
{% if server.custom_options is defined and server.custom_options %}
{% for inline_option in server.custom_options %}
{{ inline_option }};
{{ inline_option }}{{ "" if inline_option.startswith("if ") else ";" }}
{% endfor %}
{% endif %}