This commit is contained in:
Vitor Santos Costa
2018-02-23 14:09:58 +00:00
parent 1066ded7d9
commit d6aaa8a03e
11 changed files with 14 additions and 92 deletions

View File

@@ -408,7 +408,6 @@ static Int access_file(USES_REGS1) {
}
VFS_t *vfs;
if ((vfs = vfs_owner(ares))) {
bool rc = true;
vfs_stat o;
if (vfs->stat(vfs, ares, &o)) {
if (atmode == AtomExist)
@@ -430,7 +429,7 @@ static Int access_file(USES_REGS1) {
return FALSE;
}
} else {
rc = false;
return true;
}
}
#if HAVE_ACCESS