forked from Bananymous/banan-os
update main #1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue