diff --git a/qrexec-lib/unpack.c b/qrexec-lib/unpack.c index 4d3acf5..c7513e8 100644 --- a/qrexec-lib/unpack.c +++ b/qrexec-lib/unpack.c @@ -237,6 +237,8 @@ int do_unpack(void) cwd_fd = open(".", O_RDONLY); if (cwd_fd >= 0 && syncfs(cwd_fd) == 0 && close(cwd_fd) == 0) errno = saved_errno; +#else + sync(); #endif send_status_and_crc(errno, untrusted_namebuf);