T: minor: don't abort() in textlog.c

This leads to some logs missing in some situations.
Plus it's not user-friendly.
This commit is contained in:
Cedric Roux
2018-10-23 18:05:40 +02:00
parent 387b4ff215
commit f6f6570d6e
+1 -1
View File
@@ -187,7 +187,7 @@ int main(int n, char **v)
while (1) {
event e;
e = get_event(textlog_data.socket, &ebuf, database);
if (e.type == -1) abort();
if (e.type == -1) break;
handle_event(h, e);
}