libarchive makes usage of buffered files, add a sync() call after installing the archive file(s).
Signed-off-by: Ayoub Zaki <
ayoub...@embetrix.com>
---
handlers/archive_handler.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/handlers/archive_handler.c b/handlers/archive_handler.c
index e3a1463..0ca22ca 100644
--- a/handlers/archive_handler.c
+++ b/handlers/archive_handler.c
@@ -380,6 +380,7 @@ out:
}
}
+ sync();
free(DATADST_DIR);
free(FIFO);
--
2.34.1