clamav/clamav-0.93.1-path.patch

20 lines
550 B
Diff

--- clamav-0.93.1/contrib/init/RedHat/clamav-milter.path
+++ clamav-0.93.1/contrib/init/RedHat/clamav-milter
@@ -22,7 +22,6 @@ test -f /etc/sysconfig/clamav-milter &&
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
-[ -x /usr/local/sbin/clamav-milter ] || exit 0
PATH=$PATH:/usr/bin:/usr/local/sbin:/usr/local/bin
RETVAL=0
@@ -87,7 +86,7 @@ case "$1" in
restart
;;
condrestart)
- test -f ${lockfile} && $0 restart || :
+ test -f ${lockfile} && restart || :
;;
status)
if [ ! -z $pidfile ]; then