file: remove unnecessary sync() call
[project/uci.git] / file.c
diff --git a/file.c b/file.c
index cf0dfaf..341a706 100644 (file)
--- a/file.c
+++ b/file.c
@@ -800,7 +800,6 @@ done:
                UCI_THROW(ctx, UCI_ERR_IO);
        }
        free(filename);
-       sync();
        if (ctx->err)
                UCI_THROW(ctx, ctx->err);
 }