eve: remove duplicate call to LogFileEnsureExists

Remove duplicate call to LogFileEnsureExists in the generic
eve thread init function.
pull/6060/head
Jason Ish 4 years ago
parent 23b1607d69
commit 702f3b3c73

@ -89,7 +89,6 @@ TmEcode JsonLogThreadInit(ThreadVars *t, const void *initdata, void **data)
}
thread->ctx = ((OutputCtx *)initdata)->data;
LogFileEnsureExists(thread->ctx->file_ctx, t->id);
thread->file_ctx = LogFileEnsureExists(thread->ctx->file_ctx, t->id);
if (!thread->file_ctx) {
goto error_exit;

Loading…
Cancel
Save