Skip to content

Commit

Permalink
in_tail: fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
kokosabu committed Sep 30, 2018
1 parent 55ad560 commit 6652f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/in_tail/tail_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,8 @@ int flb_tail_file_append(char *path, struct stat *st, int mode,
*/
if (ctx->db) {
flb_tail_db_file_set(file, ctx);
} else {
}
else {
file->offset = lseek(file->fd, 0, SEEK_END);
}

Expand Down

0 comments on commit 6652f8a

Please sign in to comment.