mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 20:44:49 +00:00
Fixed doubleup on path creation
This commit is contained in:
parent
4e5981488e
commit
46eefc5b2a
1 changed files with 0 additions and 8 deletions
|
@ -209,14 +209,6 @@ namespace sts::ncm {
|
|||
working_path_buf[i + 1] = '/';
|
||||
}
|
||||
}
|
||||
|
||||
if (mkdir(working_path_buf + 1, S_IRWXU) == -1) {
|
||||
R_TRY_CATCH(fsdevGetLastResult()) {
|
||||
R_CATCH(ResultFsPathAlreadyExists) {
|
||||
/* If the path already exists, that's okay. Anything else is an error. */
|
||||
}
|
||||
} R_END_TRY_CATCH;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return ResultNcmAllocationFailed;
|
||||
|
|
Loading…
Add table
Reference in a new issue