Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit ba190fb

Browse files
author
Sebastian Gumprich
committed
fix indentation for matches
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
1 parent 1570b05 commit ba190fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/opensshd.conf.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Subsystem sftp internal-sftp -l INFO -f LOCAL6
244244
# These lines must appear at the *end* of sshd_config
245245
Match Group sftponly
246246
ForceCommand internal-sftp -l INFO -f LOCAL6
247-
{% if sftp_chroot -%}
247+
{% if sftp_chroot %}
248248
ChrootDirectory {{ sftp_chroot_dir }}
249249
{% endif %}
250250
AllowTcpForwarding no
@@ -260,7 +260,7 @@ Match Group sftponly
260260

261261
{% for item in ssh_server_match_group -%}
262262
Match Group {{ item.group }}
263-
{% for rule in item.rules -%}
263+
{% for rule in item.rules %}
264264
{{ rule | indent(4) }}
265265
{% endfor %}
266266
{% endfor %}
@@ -272,7 +272,7 @@ Match Group {{ item.group }}
272272

273273
{% for item in ssh_server_match_user -%}
274274
Match User {{ item.user }}
275-
{% for rule in item.rules -%}
275+
{% for rule in item.rules %}
276276
{{ rule | indent(4) }}
277277
{% endfor %}
278278
{% endfor %}

0 commit comments

Comments
 (0)