aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-08-14 19:14:06 +0800
committergarga <garga@FreeBSD.org>2007-08-14 19:14:06 +0800
commit3542bfdef6f8064f3c248d5fd3ac4bab6f0fe05c (patch)
tree0eaf3d741beace711ad9ad900b346658d2f1c3c7 /security/clamav
parent104fb7da345c5da89fa0f459cbee689d401695c0 (diff)
downloadfreebsd-ports-graphics-3542bfdef6f8064f3c248d5fd3ac4bab6f0fe05c.tar.gz
freebsd-ports-graphics-3542bfdef6f8064f3c248d5fd3ac4bab6f0fe05c.tar.zst
freebsd-ports-graphics-3542bfdef6f8064f3c248d5fd3ac4bab6f0fe05c.zip
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>
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 eed56b4e4b5..90a3f2bf8c2 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 ]