From 63b2de4aa20cf271f4b01a2e30392dbd09c9e470 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 26 Aug 2014 20:50:30 +0000 Subject: [PATCH] Try this fix for template --- roles/clamav/templates/clamscan.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/clamav/templates/clamscan.sh.j2 b/roles/clamav/templates/clamscan.sh.j2 index 324b646e72..8b5d957f9f 100644 --- a/roles/clamav/templates/clamscan.sh.j2 +++ b/roles/clamav/templates/clamscan.sh.j2 @@ -17,7 +17,7 @@ find {{ path }} -ctime -${DAYS} -type f >> $FILELIST /bin/nice -5 /usr/bin/clamscan --infected --quiet --file-list=$FILELIST --log=$LOGFILE \ {% for path in clamscan_excludes|default([]) %} ---exclude={{ exclude }} \ +--exclude={{ path }} \ {% endfor %} 2> /dev/null