From e36afd8f999767a8fe7c43b1c47475dbdc4c9656 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 13 May 2020 14:25:10 +0200 Subject: [PATCH] [fix] Avoid comment close to yes value https://forum.yunohost.org/t/yunohost-3-8-testing-call-for-feedback/10870/115 --- conf/ssh_regenconf_hook | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/ssh_regenconf_hook b/conf/ssh_regenconf_hook index b1978e8..228dd90 100644 --- a/conf/ssh_regenconf_hook +++ b/conf/ssh_regenconf_hook @@ -18,7 +18,10 @@ do_post_regen() { # Harden SSH connection for the user if ! grep --quiet "^##-> __APP__$" /etc/ssh/sshd_config then - echo "##-> __APP__ + # Please keep the linebreak to avoid some bug + # See: https://forum.yunohost.org/t/yunohost-3-8-testing-call-for-feedback/10870/115?u=ljf + echo " +##-> __APP__ # Hardening user connection Match User __USER__ ChrootDirectory %h