Skip to content

Commit a2490f7

Browse files
dont error on zero byte file just skip it
1 parent f02e7d1 commit a2490f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/installer/recursive_file_copy.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ bool copy_file(const char* source, const char* destination) {
4343
}
4444
if (!info) {
4545
error_page("Could not get info for '%s'\n", source);
46+
return false;
4647
}
47-
return false;
48+
return true;
4849
}
4950

5051
bool copy_directory(const char* source, const char* destination) {

0 commit comments

Comments
 (0)