Mercurial > hg > mlmmj
changeset 142:67eadb823b92
Fix daemonizing
author | mmj |
---|---|
date | Wed, 02 Jun 2004 08:57:48 +1000 |
parents | 8ae0a10588e4 |
children | f13bdf402943 |
files | src/mlmmj-maintd.c |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mlmmj-maintd.c Wed Jun 02 08:49:58 2004 +1000 +++ b/src/mlmmj-maintd.c Wed Jun 02 08:57:48 2004 +1000 @@ -328,13 +328,11 @@ mlmmjsend = concatstr(2, bindir, "/mlmmj-send"); free(bindir); - if(daemonize) { if(daemon(1,0) < 0) { log_error(LOG_ARGS, "Could not daemonize. Only one " "maintenance run will be done."); daemonize = 0; } - } for(;;) { clean_moderation(listdir);