projects
/
platform
/
core
/
appfw
/
slp-pkgmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a299e5
)
Fix return value when the given package is not exist
07/48807/1
accepted/tizen/mobile/20150930.235933
accepted/tizen/tv/20150930.235942
accepted/tizen/wearable/20150930.235958
submit/tizen/20150930.070601
author
Sangyoon Jang
<s89.jang@samsung.com>
Wed, 30 Sep 2015 05:58:42 +0000
(14:58 +0900)
committer
Sangyoon Jang
<s89.jang@samsung.com>
Wed, 30 Sep 2015 05:58:42 +0000
(14:58 +0900)
should return error code of invalid parameter
Change-Id: I13bf87a8f9deabfe1ebd42c8821cabb8d9cc31e7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
client/src/pkgmgr.c
patch
|
blob
|
history
diff --git
a/client/src/pkgmgr.c
b/client/src/pkgmgr.c
index
d9e0b81
..
8f366cb
100644
(file)
--- a/
client/src/pkgmgr.c
+++ b/
client/src/pkgmgr.c
@@
-1003,7
+1003,7
@@
API int pkgmgr_client_usr_uninstall(pkgmgr_client *pc, const char *pkg_type,
ret = pkgmgrinfo_pkginfo_get_usr_pkginfo(pkgid, uid, &handle);
if (ret < 0)
- return PKGMGR_R_E
RROR
;
+ return PKGMGR_R_E
INVAL
;
ret = pkgmgrinfo_pkginfo_get_type(handle, &pkgtype);
if (ret < 0) {