diff options
Diffstat (limited to 'kmail/avscripts')
-rwxr-xr-x | kmail/avscripts/kmail_clamav.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/avscripts/kmail_clamav.sh b/kmail/avscripts/kmail_clamav.sh index b6227b39f..f8492621d 100755 --- a/kmail/avscripts/kmail_clamav.sh +++ b/kmail/avscripts/kmail_clamav.sh @@ -35,7 +35,7 @@ export TEMPFILE cat > $TEMPFILE # check for a running daemon -if [ "`ps -eo comm|grep clamd`" = "clamd" ]; then +if ps -eo comm | grep -q clamd ; then chmod a+r $TEMPFILE CLAMCOMANDO="clamdscan --stdout --no-summary " else |