[Bug 173495] [PATCH] kmail_clamav.sh needs tuning, when clamd runs as a different user

Thomas McGuire mcguire at kde.org
Tue Nov 18 17:58:15 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=173495





--- Comment #1 from Thomas McGuire <mcguire kde org>  2008-11-18 18:58:14 ---
Did you actually test the patch you posted here??

Because I don't think this will work, since "ps -eo user,comm|grep clamd" will
get you the username and the process name, which can't be equal to the username
alone.

I suggest adding "| awk '{print $1}'", therefore making it
"ps -eo user,comm | grep clamd | awk '{print $1}"

I don't have clamav here, so please test if that works or submit your working
solution.

Thanks for submitting the patch.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list