From c117982e4f10acc987e984dca882bca683d04909 Mon Sep 17 00:00:00 2001 From: fundavid Date: Tue, 12 Nov 2024 10:22:51 +0800 Subject: [PATCH] code sync Signed-off-by: fundavid --- services/accountmgr/src/osaccount/os_account_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/accountmgr/src/osaccount/os_account_interface.cpp b/services/accountmgr/src/osaccount/os_account_interface.cpp index 605ae7d6b..6f91cb897 100644 --- a/services/accountmgr/src/osaccount/os_account_interface.cpp +++ b/services/accountmgr/src/osaccount/os_account_interface.cpp @@ -331,7 +331,7 @@ ErrCode OsAccountInterface::SendToStorageAccountCreate(OsAccountInfo &osAccountI int32_t retryTimes = 0; while (retryTimes < MAX_RETRY_TIMES) { errCode = InnerSendToStorageAccountCreate(osAccountInfo); - if (errCode == ERR_OK) { + if (errCode != Constants::E_IPC_ERROR && errCode != Constants::E_IPC_SA_DIED) { break; } ACCOUNT_LOGE("Fail to SendToStorageAccountCreate,id=%{public}d, errCode %{public}d.",