From 03b0358164b0757b0db0cbe1b2641b2a21c52f0f Mon Sep 17 00:00:00 2001 From: Ossi Herrala Date: Mon, 13 Oct 2014 06:13:28 +0000 Subject: [PATCH] rsync-backup: Bug in ACL variable name. Now ACLs are enabled by default as documented. --- rsync/templates/rsync-backup.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync/templates/rsync-backup.sh.erb b/rsync/templates/rsync-backup.sh.erb index e6d6cb5..394f6ad 100644 --- a/rsync/templates/rsync-backup.sh.erb +++ b/rsync/templates/rsync-backup.sh.erb @@ -7,7 +7,7 @@ FLOCK_OPTS="--exclusive --nonblock" FLOCK_FILE="/var/lock/<%= @name -%>" RSYNC="/usr/bin/rsync" -RSYNC_OPTS=( -ax <%= @acl ? "-A" : "" -%> <%= @options ? options : "" -%> --delete --itemize-changes <%= @_excludes -%> ) +RSYNC_OPTS=( -ax <%= @enable_acl ? "-A" : "" -%> <%= @options ? options : "" -%> --delete --itemize-changes <%= @_excludes -%> ) ( $FLOCK $FLOCK_OPTS 200 || exit $?