update main #1

Merged
Sinipelto merged 240 commits from Bananymous/banan-os:main into main 2023-11-20 13:20:51 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9e4adc1264 - Show all commits

View File

@ -69,7 +69,7 @@ bool copy_file(const BAN::String& source, BAN::String destination)
perror("write");
ret = false;
}
if (nwrite == 0)
if (nwrite <= 0)
break;
written += nwrite;
}