summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSemun Lee <sm79.lee@samsung.com>2016-07-08 11:49:43 +0900
committerSemun Lee <sm79.lee@samsung.com>2016-07-08 11:49:43 +0900
commit58699e2768a3627abf17252054752adcdcf295c0 (patch)
treec338513af469c99303da21e588870d9d845ad899 /src
parent28e81640c7c8c6e4d1b2d1fb60748ce7b983a847 (diff)
downloadui-gadget-1-58699e2768a3627abf17252054752adcdcf295c0.tar.gz
ui-gadget-1-58699e2768a3627abf17252054752adcdcf295c0.tar.bz2
ui-gadget-1-58699e2768a3627abf17252054752adcdcf295c0.zip
Change-Id: I571412e60fde3c9217e245543d47f7329a38e0e9 Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/ug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ug.c b/src/ug.c
index 6045237..47c70d1 100644
--- a/src/ug.c
+++ b/src/ug.c
@@ -385,7 +385,7 @@ UG_API int ug_is_installed(const char *name)
return -1;
}
- if (!ug_module_get_file_path(name, &ug_file_path))
+ if (ug_module_get_file_path(name, &ug_file_path) < 0)
ret = 0;
if (ug_file_path)