summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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) {