projects
/
platform
/
core
/
api
/
preference.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d7d604
)
check argc to get argument of preference tool properly
20/240920/1
author
SukHyung, Kang
<shine.kang@samsung.com>
Thu, 13 Aug 2020 01:24:51 +0000
(10:24 +0900)
committer
SukHyung, Kang
<shine.kang@samsung.com>
Thu, 13 Aug 2020 01:24:51 +0000
(10:24 +0900)
Change-Id: I5856851cc38e92e03502ff2d72b53e3d8a279762
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
src/tool/preference_tool.c
patch
|
blob
|
history
diff --git
a/src/tool/preference_tool.c
b/src/tool/preference_tool.c
index a0fcfcc224efa6d2a91731e2f80e7ebea59c37ff..8dfed3bb92fa5501fc277ca1746a6e2d0a7a3a48 100644
(file)
--- a/
src/tool/preference_tool.c
+++ b/
src/tool/preference_tool.c
@@
-1114,7
+1114,7
@@
int main(int argc, char *argv[])
if (is_exist_data_dir_in_package(argv[2]) < 0)
return -1;
- if (argv[3])
+ if (arg
c > 3 && arg
v[3])
_print_preference_key(argv[2], argv[3]);
else
_print_preference_in_package(argv[2]);