cleanup
This commit is contained in:
parent
6b40658eac
commit
1eec19c583
@ -142,7 +142,7 @@ auto fuse_drive::create_impl(std::string api_path, mode_t mode,
|
||||
res = check_parent_access(api_path, W_OK);
|
||||
}
|
||||
} else {
|
||||
res = res = check_access(api_path, R_OK);
|
||||
res = check_access(api_path, R_OK);
|
||||
if (res == api_error::item_not_found) {
|
||||
res = check_parent_access(api_path, R_OK);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user