| Summary: | syntax error in /usr/bin/kmail_clamav.sh | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | p92 |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.9.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | fix syntax error when clamd not started | ||
|
Description
p92
2006-04-30 16:43:04 UTC
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
|