Version: 1.9.1 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu12 dapper) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-21-686 I noticed this error in .xsession : /usr/bin/kmail_clamav.sh: line 38: [: =: unary operator expected this happens when clamd is not started. fix is trivial.
Created attachment 15859 [details] fix syntax error when clamd not started
SVN commit 535841 by winterz: Fix syntax error. Patch provided by p92 AT free DOT fr. Thanks. BUGS: 126529 M +1 -1 kmail_clamav.sh --- branches/KDE/3.5/kdepim/kmail/avscripts/kmail_clamav.sh #535840:535841 @@ -35,7 +35,7 @@ cat > $TEMPFILE # check for a running daemon -if [ `ps -eo comm|grep clamd` = "clamd" ]; then +if [ "`ps -eo comm|grep clamd`" = "clamd" ]; then chmod a+r $TEMPFILE CLAMCOMANDO="clamdscan --stdout --no-summary " else