fix dirname in template

This commit is contained in:
Robert Kaussow 2018-11-07 20:48:59 +01:00
parent 51dc588864
commit 9f6ba0a595
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ persistence {{ mosquitto_persistence_enabled | lower }}
{% if mosquitto_persistence_enabled %}
persistence_file {{ mosquitto_persistence_path | basename }}
persistence_location {{ mosquitto_persistence_path | dirname }}
persistence_location {{ (mosquitto_persistence_path | dirname) + '/' }}
{% endif %}
# =================================================================