From 8eeff9d54790fdc8b3d9e069d191487417102476 Mon Sep 17 00:00:00 2001
From: John Denker <jsd@av8n.com>
Date: Mon, 23 Jul 2012 08:44:42 -0700
Subject: fix very small bug

---
 tools/greylist.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/greylist.c b/tools/greylist.c
index 92e638f..89396e7 100644
--- a/tools/greylist.c
+++ b/tools/greylist.c
@@ -73,6 +73,10 @@ void exeunt(const int sts){
   if (sts == ex_penaltybox) exit(sts);
 #endif
 
+#ifndef KILL_GROUP
+  exit(sts);
+#endif
+
   const char* foo = getenv("HI_Q_GROUP");
   if (!foo) exit(sts);
 
@@ -218,7 +222,7 @@ void scan(const string progid, const string p, const int copies=1){
 void whatsit::update(const string msg, const timeval new_mod,
      const timeval new_ac, const int penalty, const int stain){
   if (verbosity){
-    cerr << progid << ": ";
+    if (penalty || stain || verbosity>1) cerr << progid << ": ";
     if (penalty) cerr << " penalty " << penalty;
     if (stain) cerr << " stain " << stain;
     if (verbosity > 1) {
-- 
cgit v1.2.3