diff --git a/templates/rsnapshot.erb b/templates/rsnapshot.erb index bc14de7..730c01d 100644 --- a/templates/rsnapshot.erb +++ b/templates/rsnapshot.erb @@ -85,12 +85,12 @@ du_args <%= @du_args %> <% if @one_fs != '' -%> one_fs <%= @one_fs_num %> <% end -%> -<% if not @real_include.is_empty? -%> +<% if not @real_include.empty? -%> <% if @include_file != '' -%> include_file <%= @include_file %> <% end -%> <% end -%> -<% if not @real_exclude.is_empty? -%> +<% if not @real_exclude.empty? -%> <% if @exclude_file != '' -%> exclude_file <%= @exclude_file %> <% end -%>