X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fbootscripts%2Fclamav;h=4ecc4f0b94bad36d8b03cc230de1acce3c550a11;hb=6007645124befc70ffe2fae5500022b215d59ce6;hp=32f32a0f38994993330b852a1e55c6a5722a1392;hpb=564ec1bbb321286571c30da20b81620c33b18e6f;p=hvlinux.git diff --git a/stage5/bootscripts/clamav b/stage5/bootscripts/clamav index 32f32a0..4ecc4f0 100755 --- a/stage5/bootscripts/clamav +++ b/stage5/bootscripts/clamav @@ -9,7 +9,7 @@ SOCKET_DIR="/var/run/clamav" 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 @@ -17,7 +17,7 @@ start() 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