From: phessler Date: Fri, 11 Jul 2008 01:40:50 +0000 (+0000) Subject: greyreader() shouldn't return, so tell us if it does X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=29c90403b42c5e2ac47e3688ef4e25e8b91a4486;p=openbsd greyreader() shouldn't return, so tell us if it does ok beck@, reyk@ --- diff --git a/libexec/spamd/grey.c b/libexec/spamd/grey.c index c23b4b6bc5f..f861b6f2e50 100644 --- a/libexec/spamd/grey.c +++ b/libexec/spamd/grey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grey.c,v 1.41 2007/11/03 19:16:07 beck Exp $ */ +/* $OpenBSD: grey.c,v 1.42 2008/07/11 01:40:50 phessler Exp $ */ /* * Copyright (c) 2004-2006 Bob Beck. All rights reserved. @@ -1190,6 +1190,7 @@ greywatcher(void) close(pfdev); setproctitle("(%s update)", PATH_SPAMD_DB); greyreader(); + syslog_r(LOG_ERR, &sdata, "greyreader failed (%m)"); /* NOTREACHED */ _exit(1); }