Skip to content
Snippets Groups Projects
Commit a8beb2f4 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

Fix for FreeBSD build. Using fsync instead of fdatasync for tarantool

console client log flush prior to close.
parent d47d45ae
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ int tc_cmd_tee_close(void)
{
if (tc.tee_fd == -1)
return 0;
fdatasync(tc.tee_fd);
fsync(tc.tee_fd);
int rc = close(tc.tee_fd);
tc.tee_fd = -1;
return rc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment