fix swap/mount section name when type = swap

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-03-13 10:59:48 -05:00
parent 4f37977e7b
commit 3791c7520b
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3

View File

@ -6,7 +6,7 @@ Description=Auto mount for {{ (item.where | default(item.what)).strip('/') | rep
{% endfor %}
{% endfor %}
[Mount]
[{{ (item.type == 'swap') | ternary('Swap', 'Mount') }}]
What={{ item.what }}
{% if item.type == 'swap' %}
Priority={{ item.priority | default(0) }}