projects
/
platform
/
core
/
appfw
/
shortcut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72dbdb4
)
Fix db recovery
53/165453/2
author
Seungha Son
<seungha.son@samsung.com>
Fri, 29 Dec 2017 04:23:30 +0000
(13:23 +0900)
committer
Seungha Son
<seungha.son@samsung.com>
Fri, 29 Dec 2017 04:28:53 +0000
(13:28 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ic42687d28af3d4f09cce5287affd50f7033afac4
lib/src/shortcut_db.c
patch
|
blob
|
history
diff --git
a/lib/src/shortcut_db.c
b/lib/src/shortcut_db.c
index 0520fb40d86c26d694e07c4de19f7dea5536ddfd..6e76defd2124c286be57633c2de0ccc847168cea 100755
(executable)
--- a/
lib/src/shortcut_db.c
+++ b/
lib/src/shortcut_db.c
@@
-48,7
+48,7
@@
static bool is_db_corrupted = false;
static int __check_integrity_cb(void *pid, int argc, char **argv, char **notUsed)
{
- if (
!strcmp(argv[0], "ok")
) {
+ if (
strcmp(argv[0], "ok") != 0
) {
SHORTCUT_ERR("db integrity result : %s" , argv[0]);
is_db_corrupted = true;
return -1;