diff --git a/templates/cmd_rule.erb b/templates/cmd_rule.erb index 76a327c..5b09abb 100644 --- a/templates/cmd_rule.erb +++ b/templates/cmd_rule.erb @@ -1,5 +1,5 @@ -<% unless @ne_cmd_comment.empty? -%> +<% unless @ne_cmd_comment.nil? -%> # <%= @ne_cmd_comment %> <% end -%> command[<%= @ne_check_name %>]=<%= @ne_cmd_path %><%= @ne_check_cmd %> <%= @ne_cmd_argstring %>