diff options
author | Renato Botelho <garga@FreeBSD.org> | 2007-08-14 11:14:06 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2007-08-14 11:14:06 +0000 |
commit | 7453d766a3a85995f57326e7562f9b69d1f3cb8d (patch) | |
tree | 20daff39e55c6d95cc235965b7abbd602acd33f2 | |
parent | Update 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
-rw-r--r-- | security/clamav-devel/files/clamav-milter.in | 2 | ||||
-rw-r--r-- | security/clamav/files/clamav-milter.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/clamav-devel/files/clamav-milter.in b/security/clamav-devel/files/clamav-milter.in index eed56b4e4b5c..90a3f2bf8c2e 100644 --- a/security/clamav-devel/files/clamav-milter.in +++ b/security/clamav-devel/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 ] 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 ] |