Source

iredmail / iRedMail / functions / clamav.sh

Diff from to

iRedMail/functions/clamav.sh

     perl -pi -e 's#^(TCPAddr ).*#${1} $ENV{CLAMD_LISTEN_ADDR}#' ${CLAMD_CONF}
 
     # Disable log file
-    perl -pi -e 's/^(LogFile.*/#${1}/' ${CLAMD_CONF}
+    perl -pi -e 's/^(LogFile.*)/#${1}/' ${CLAMD_CONF}
 
     # Set CLAMD_LOCAL_SOCKET
     perl -pi -e 's/^(LocalSocket ).*/${1}$ENV{CLAMD_LOCAL_SOCKET}/' ${CLAMD_CONF}