aboutsummaryrefslogtreecommitdiff
path: root/src/os.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.cpp')
-rw-r--r--src/os.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os.cpp b/src/os.cpp
index 351b61cd66..872c0270f1 100644
--- a/src/os.cpp
+++ b/src/os.cpp
@@ -1161,9 +1161,6 @@ Error os_update_file(Buf *src_path, Buf *dst_path) {
fclose(dst_libc_file);
return err;
}
- if (fflush(src_libc_file) == -1) {
- return ErrorUnexpected;
- }
if (fflush(dst_libc_file) == -1) {
return ErrorUnexpected;
}