From 0f6a6ebe3159b0e1c5c4963d62518a0cdfd5775a Mon Sep 17 00:00:00 2001 From: Norbert Varzariu Date: Fri, 22 Jan 2016 10:00:49 +0100 Subject: [PATCH] fix template --- templates/rsnapshot.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -%>