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 $?