summaryrefslogtreecommitdiffstats
path: root/kmail/avscripts/kmail_clamav.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/avscripts/kmail_clamav.sh')
-rwxr-xr-xkmail/avscripts/kmail_clamav.sh2
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