diff --git a/templates/rsnapshot.erb b/templates/rsnapshot.erb index 730c01d..29349c0 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.empty? -%> +<% unless @real_include.empty? -%> <% if @include_file != '' -%> include_file <%= @include_file %> <% end -%> <% end -%> -<% if not @real_exclude.empty? -%> +<% unless @real_exclude.empty? -%> <% if @exclude_file != '' -%> exclude_file <%= @exclude_file %> <% end -%>