summaryrefslogtreecommitdiff
path: root/security/clamav
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-08-14 11:14:06 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-08-14 11:14:06 +0000
commit7453d766a3a85995f57326e7562f9b69d1f3cb8d (patch)
tree20daff39e55c6d95cc235965b7abbd602acd33f2 /security/clamav
parentUpdate to the latest version and unbreak. (diff)
Fix clamav-milter startup script to don't wait clamd socket when it's using tcp
socket PR: ports/115353 (Based on) Submitted by: Alexander Shikoff <minotaur@crete.org.ua>
Notes
Notes: svn path=/head/; revision=197652
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/files/clamav-milter.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/clamav/files/clamav-milter.in b/security/clamav/files/clamav-milter.in
index eed56b4e4b5c..90a3f2bf8c2e 100644
--- a/security/clamav/files/clamav-milter.in
+++ b/security/clamav/files/clamav-milter.in
@@ -36,7 +36,7 @@ start_precmd()
fi
rc_flags="--pidfile ${pidfile} ${flags:-$clamav_milter_flags} $clamav_milter_socket"
- if checkyesno clamav_clamd_enable; then
+ if checkyesno clamav_clamd_enable && [ "x$clamav_clamd_socket" != "x" ]; then
echo -n "Waiting for clamd socket.. "
i=${clamav_milter_socktimeout}
while [ $i -ne 0 ]