projects
/
platform
/
core
/
appfw
/
pkgmgr-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
179a5f2
)
Add new error handling
14/118914/2
author
Bartlomiej
<b.kunikowski@partner.samsung.com>
Tue, 14 Mar 2017 12:00:29 +0000
(13:00 +0100)
committer
Bartlomiej Kunikowski
<b.kunikowski@partner.samsung.com>
Thu, 16 Mar 2017 07:45:02 +0000
(
00:45
-0700)
Submit together:
- https://review.tizen.org/gerrit/#/c/118912/
Change-Id: I25c26ab877f8558f78554f6b5bec75cb7a26e6a7
src/pkg_cmd.c
patch
|
blob
|
history
diff --git
a/src/pkg_cmd.c
b/src/pkg_cmd.c
index
50c4cda
..
b061591
100644
(file)
--- a/
src/pkg_cmd.c
+++ b/
src/pkg_cmd.c
@@
-160,6
+160,9
@@
static void __error_no_to_string(int errnumber, char **errstr)
if (errstr == NULL)
return;
switch (errnumber) {
+ case PKGMGR_INSTALLER_ERRCODE_RECOVERY_DONE:
+ *errstr = PKGMGR_INSTALLER_ERRCODE_RECOVERY_DONE_STR;
+ break;
case PKGMGR_INSTALLER_ERRCODE_GLOBALSYMLINK_ERROR:
*errstr = PKGMGR_INSTALLER_ERRCODE_GLOBALSYMLINK_ERROR_STR;
break;