From 45bc3762d81b064c1f511da3d573534d6ca34c71 Mon Sep 17 00:00:00 2001 From: robert <> Date: Fri, 8 Jul 2011 00:17:15 +0000 Subject: [PATCH] only start spamlogd if spamd_flags != NO and spamd_black = NO spotted by halex@ --- src/etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 5a39c5b9..1feea5a7 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.368 2011/07/08 00:15:19 robert Exp $ +# $OpenBSD: rc,v 1.369 2011/07/08 00:17:15 robert Exp $ # System startup script run by init on autoboot # or after single-user. @@ -570,7 +570,7 @@ start_daemon spamd [ X"${spamd_flags}" != X"NO" ] && \ /usr/libexec/spamd-setup -D -if [ X"${spamd_black}" = X"NO" ]; then +if [ X"${spamd_flags}" != X"NO" -a X"${spamd_black}" = X"NO" ]; then echo -n ' spamlogd' /usr/libexec/spamlogd ${spamlogd_flags} fi