projects
/
platform
/
core
/
appfw
/
pkgmgr-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e2567e
)
Fix CSR routine to not to fail installation when engine is not exists
48/85948/1
accepted/tizen/common/20160830.150200
accepted/tizen/ivi/20160830.061221
accepted/tizen/mobile/20160830.060947
accepted/tizen/tv/20160830.061051
accepted/tizen/wearable/20160830.061135
submit/tizen/20160830.010724
author
Junghyun Yeon
<jungh.yeon@samsung.com>
Tue, 30 Aug 2016 00:58:19 +0000
(09:58 +0900)
committer
Junghyun Yeon
<jungh.yeon@samsung.com>
Tue, 30 Aug 2016 00:58:19 +0000
(09:58 +0900)
Change-Id: I485108d8d62c5f1029bf646f6e73dda263f00a78
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgr-server.c
patch
|
blob
|
history
diff --git
a/src/pkgmgr-server.c
b/src/pkgmgr-server.c
index
1caa7d1
..
021b327
100644
(file)
--- a/
src/pkgmgr-server.c
+++ b/
src/pkgmgr-server.c
@@
-417,7
+417,7
@@
static int __check_csr(backend_info *ptr)
csr_cs_malware_h detected = NULL;
int ret = -1;
- ret = csr_cs_context_create(&context);
\r
+ ret = csr_cs_context_create(&context);
if (ret != CSR_ERROR_NONE) {
ERR("Failed to create csr context");
return -1;
@@
-425,10
+425,7
@@
static int __check_csr(backend_info *ptr)
if (context) {
ret = csr_cs_scan_file(context, ptr->pkgid, &detected);
- if (ret != CSR_ERROR_NONE) {
- ERR("Failed to scan file[%d]", ret);
- return -1;
- }
+ DBG("CSR result[%d]", ret);
csr_cs_context_destroy(context);
if (detected != NULL) {