projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to iso-codes-3.57
[hvlinux.git]
/
stage5
/
bootscripts
/
clamav
diff --git
a/stage5/bootscripts/clamav
b/stage5/bootscripts/clamav
index
32f32a0
..
4ecc4f0
100755
(executable)
--- a/
stage5/bootscripts/clamav
+++ b/
stage5/bootscripts/clamav
@@
-9,7
+9,7
@@
SOCKET_DIR="/var/run/clamav"
start()
{
start()
{
- if statusproc clamd | grep -q "
not running
"; then
+ if statusproc clamd | grep -q "
stopped
"; then
# Not taking any chances, removing left-over files
rm -f ${SOCKET_DIR}/clamd.{sock,pid} || return 1
fi
# Not taking any chances, removing left-over files
rm -f ${SOCKET_DIR}/clamd.{sock,pid} || return 1
fi
@@
-17,7
+17,7
@@
start()
sleep 1
sleep 1
- if statusproc clamav-milter | grep -q "
not running
"; then
+ if statusproc clamav-milter | grep -q "
stopped
"; then
# Not taking any chances, removing left-over files
rm -f ${SOCKET_DIR}/clmilter.sock || return 1
fi
# Not taking any chances, removing left-over files
rm -f ${SOCKET_DIR}/clmilter.sock || return 1
fi