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 adbbdf73c4 - Show all commits

View File

@ -45,7 +45,7 @@ int main()
while (ssize_t nread = read(fd, path_buffer, sizeof(path_buffer) - 1))
{
if (nread == -1)
if (nread < 0)
{
perror("read");
break;