From b452300021e94f4980d4d9c5447acbf95d7c7dc1 Mon Sep 17 00:00:00 2001 From: prx Date: Sun, 3 Sep 2023 15:24:29 +0200 Subject: [PATCH] less verbose logs --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.c b/main.c index 6cad25e..3870e60 100644 --- a/main.c +++ b/main.c @@ -192,9 +192,8 @@ watch_event(const int nsock, const int s[], const char *table) close(new_fd); /* no longer required */ /* ban this ip */ - syslog(LOG_DAEMON, "blocking %s", ip); + syslog(LOG_DAEMON, "block and kill states for %s", ip); runcmd(bancmd[0], bancmd); - syslog(LOG_DAEMON, "kill states for %s", ip); runcmd(killstatecmd[0], killstatecmd); } if (ev[i].filter & EVFILT_SIGNAL) {