From 3e24e5ba28e37509e3ca02aea93f08e8b7437db6 Mon Sep 17 00:00:00 2001 From: Reik Keutterling Date: Thu, 24 Apr 2014 14:46:20 +0200 Subject: [PATCH] Allow to undefine default options in sshd_config. --- templates/sshd_config.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sshd_config.erb b/templates/sshd_config.erb index 74f479699..2c79d9eef 100644 --- a/templates/sshd_config.erb +++ b/templates/sshd_config.erb @@ -38,7 +38,7 @@ ListenAddress <%= listen %> <%- v.each do |a| -%> <%= k %> <%= a %> <%- end -%> -<%- else -%> +<%- elsif v != :undef -%> <%= k %> <%= v %> <%- end -%> <%- end -%>