mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
CompleteTransferのエラーを無視しないように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@771 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
16bc05adb2
commit
b72a52b317
@ -77,18 +77,8 @@ nn::Result ActCompleter::ExecImpl()
|
||||
NN_UTIL_RETURN_IF_FAILED(
|
||||
nn::act::InitializeAdmin());
|
||||
|
||||
nn::Result result = nn::act::CompleteTransfer();
|
||||
if(result.IsFailure())
|
||||
{
|
||||
if (nn::act::ResultAccountNotLoaded().Includes(result) || nn::act::ResultAuthenticationError().Includes(result))
|
||||
{
|
||||
// これらは発生する可能性があるので無視する
|
||||
}
|
||||
else
|
||||
{
|
||||
return result;
|
||||
}
|
||||
}
|
||||
NN_UTIL_RETURN_IF_FAILED(
|
||||
nn::act::CompleteTransfer());
|
||||
|
||||
NN_UTIL_RETURN_IF_FAILED(
|
||||
nn::act::FinalizeAdmin());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user