diff options
author | John Denker <jsd@av8n.com> | 2012-07-23 08:44:42 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-07-29 15:32:36 -0700 |
commit | e2778bb957309e8d66f4a385c45e403125b40696 (patch) | |
tree | d45ced389554881adbeed0fd741c97c4f1230917 | |
parent | c17ca9673ddb63794e42edb78989a76385c68ce8 (diff) |
fix very small bug
-rw-r--r-- | tools/greylist.c | 6 |
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) { |