mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
ignore ENOENT in unix_load
This commit is contained in:
parent
5c68bb4de6
commit
6151a2ba5d
5
v/unix.c
5
v/unix.c
@ -553,7 +553,10 @@ _unix_load(c3_c* pax_c)
|
||||
c3_y* pad_y;
|
||||
|
||||
if ( (fid_i < 0) || (fstat(fid_i, &buf_u) < 0) ) {
|
||||
uL(fprintf(uH, "%s: %s\n", pax_c, strerror(errno)));
|
||||
// ignore if the file disappeared between getting the sync event and now
|
||||
if ( ENOENT != errno ) {
|
||||
uL(fprintf(uH, "%s: %s\n", pax_c, strerror(errno)));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
fln_w = buf_u.st_size;
|
||||
|
Loading…
Reference in New Issue
Block a user