summaryrefslogtreecommitdiff
path: root/libexec/spamd/grey.c
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2008-07-11 01:40:51 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2008-07-11 01:40:51 +0000
commit563379b751a4197494e165067734c31e5aef205e (patch)
tree57c9068f83c79d8d536f9157ffc025b0e6552bb3 /libexec/spamd/grey.c
parenta5b690e71e916ba64234b4d771e2291cd4b3f94c (diff)
greyreader() shouldn't return, so tell us if it does
ok beck@, reyk@
Diffstat (limited to 'libexec/spamd/grey.c')
-rw-r--r--libexec/spamd/grey.c3
1 files changed, 2 insertions, 1 deletions
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);
}