From e32e8f55b41139eece82db73b5a3a2254894d69c Mon Sep 17 00:00:00 2001 From: InHong Han Date: Mon, 15 Mar 2021 17:33:24 +0900 Subject: [PATCH] Fix wrong error value Change-Id: I3ee112f10ae36ca3b13f71bcfa4b44bbed3f56bb --- client/src/sticker_provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/sticker_provider.c b/client/src/sticker_provider.c index c975366..079eaaa 100644 --- a/client/src/sticker_provider.c +++ b/client/src/sticker_provider.c @@ -444,7 +444,7 @@ EXPORT_API int sticker_provider_set_group_image(sticker_provider_h provider_hand if (access(file_path, F_OK) != 0) { LOGE("%s does not exist", file_path); - ret = STICKER_ERROR_OPERATION_FAILED; + ret = STICKER_ERROR_NO_SUCH_FILE; goto cleanup; } } -- 2.7.4