summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-23 08:44:42 -0700
committerJohn Denker <jsd@av8n.com>2012-07-23 08:44:42 -0700
commit8eeff9d54790fdc8b3d9e069d191487417102476 (patch)
tree14c210d028c0403da366bb4dadd6c40daba75099 /tools
parentaa0631798d45c03b56bcfea1b2074b834baac300 (diff)
fix very small bug
Diffstat (limited to 'tools')
-rw-r--r--tools/greylist.c6
1 files changed, 5 insertions, 1 deletions
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) {