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:
a41a9bd
)
Fix worng return value
61/279961/1
author
Ilho Kim
<ilho159.kim@samsung.com>
Fri, 19 Aug 2022 10:08:54 +0000
(19:08 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Fri, 19 Aug 2022 10:08:54 +0000
(19:08 +0900)
Change-Id: I524e1f1607168357f2edc5f629ddcdf429041213
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkg_upgrade/src/upgrader.cc
patch
|
blob
|
history
diff --git
a/src/pkg_upgrade/src/upgrader.cc
b/src/pkg_upgrade/src/upgrader.cc
index
49543d1
..
968e4d6
100644
(file)
--- a/
src/pkg_upgrade/src/upgrader.cc
+++ b/
src/pkg_upgrade/src/upgrader.cc
@@
-121,12
+121,12
@@
bool Upgrader::Process(PkgFinder* finder) {
// which the smack label is not applied properly
if (SetDbPermission(parser_db_) != 0) {
LOG(ERROR) << "SetDbPermission at parser_db failed";
- return
-1
;
+ return
false
;
}
if (SetDbPermission(cert_db_) != 0) {
LOG(ERROR) << "SetDbPermission at cert_db failed";
- return
-1
;
+ return
false
;
}
PkgUpgraderFactory factory;