Fix the exception about checking locale dir
[platform/core/appfw/app-core.git] / src / base / appcore_base.c
index 305c065..58aef2f 100644 (file)
@@ -589,7 +589,7 @@ static int __get_locale_resource_dir(char *locale_dir, int size)
 
        snprintf(locale_dir, size, "%s" PATH_LOCALE, res_path);
        if (access(locale_dir, R_OK) != 0)
-               return -1;
+               _DBG("%s does not exist", locale_dir);
 
        return 0;
 }