Brian Morrison wrote:

> What command did you give it? It would make sense for whatever you do to
> include an & in the script file you call to put the process you launch
> in the background.

The command is:
/usr/bin/make -C /var/lib/clamav/ | mail [EMAIL PROTECTED]

Sticking an amphersand on the end might make some sense, but I'd still rather 
see freshclam 
use fork() instead of system() when it's running as a daemon.  

Here is a patch for clamav-0.83: 
http://jessen.ch/files/patch-clamav-0.83-freshclam-with-fork

With this, freshclam will use a fork() for OnErrorExecute and OnUpdateExecute 
when it's 
running as a daemon - as commandline it'll still use system(). 


/Per Jessen, Zürich

-- 
http://www.spamchek.co,uk/freetrial - sign up for your free 30-day trial now!

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to