diff --git a/src/socklog/socklog.c b/src/socklog/socklog.c index 479807c..0e2af4c 100644 --- a/src/socklog/socklog.c +++ b/src/socklog/socklog.c @@ -228,6 +228,7 @@ int read_socket (int s) { int linec; int os; + if (flag_exitasap) break; linec =recvfrom(s, line, LINEC, 0, (struct sockaddr *) &saf, &dummy); if (linec == -1) { if (errno != EINTR)