Fix vconftool set command 72/162172/2
authorSemun Lee <semun.lee@samsung.com>
Wed, 29 Nov 2017 10:28:05 +0000 (19:28 +0900)
committerSemun Lee <semun.lee@samsung.com>
Wed, 29 Nov 2017 10:32:28 +0000 (19:32 +0900)
commit2a8bd8d431928a33893356e04fcebf2aee9eeba4
treef8100c16e5732a1c2e91e7cd59c1adf70d8a8c25
parent4998a04bdcc5450ba688c15d4f40b50eda1fffcb
Fix vconftool set command

When the key cannot be retrieved while setting the value,
try to create it assuming the key doesn't exist.
Checking "No such file" log is not that robust way checking
if the key exist or not because it depends on "errno" which
can be changed by some libc apis.

Change-Id: I0231632a0df104030c90c9cd01af06d8a9d95552
Signed-off-by: Semun Lee <semun.lee@samsung.com>
vconf-compat/vconftool