mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-18 14:36:20 +00:00
fs.mitm: fix data abort
This commit is contained in:
parent
be4ca7eee5
commit
9f972831cc
1 changed files with 2 additions and 1 deletions
|
@ -270,7 +270,8 @@ Result FsMitmService::OpenBisStorage(Out<std::shared_ptr<IStorageInterface>> out
|
||||||
} else {
|
} else {
|
||||||
/* Do not allow non-sysmodules to read *or* write CAL0. */
|
/* Do not allow non-sysmodules to read *or* write CAL0. */
|
||||||
fsStorageClose(&bis_storage);
|
fsStorageClose(&bis_storage);
|
||||||
return ResultFsPermissionDenied;
|
rc = ResultFsPermissionDenied;
|
||||||
|
return rc;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (is_sysmodule || has_bis_write_flag) {
|
if (is_sysmodule || has_bis_write_flag) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue