less verbose logs

This commit is contained in:
prx 2023-09-03 15:24:29 +02:00
parent fc07398e49
commit b452300021
1 changed files with 1 additions and 2 deletions

3
main.c
View File

@ -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) {