From: Hwankyu Jhun Date: Thu, 26 Nov 2020 22:26:08 +0000 (+0900) Subject: Revert "Check executable file" X-Git-Tag: submit/tizen/20201127.005453~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7052421c34d0dba80031f6d61283d83170695b9e;p=platform%2Fcore%2Fappfw%2Famd.git Revert "Check executable file" This reverts commit fd64caf483cb85899d976d1beb63bbff7ba49398. Change-Id: Id9678ffd143ba9d1a7f0595a890a8b8f08df530f --- diff --git a/src/lib/amd_launch.c b/src/lib/amd_launch.c index 2c2e32b3..676e4449 100644 --- a/src/lib/amd_launch.c +++ b/src/lib/amd_launch.c @@ -2541,22 +2541,9 @@ static int __check_executable(const struct appinfo *ai) { const char *status; const char *ignore; - const char *exec; int enable; int ret; - exec = _appinfo_get_value(ai, AIT_EXEC); - if (exec == NULL) { - _E("Failed to get executable file path"); - return -ENOENT; - } - - ret = access(exec, X_OK); - if (ret != 0) { - _E("%s is not executable. errno(%d)", exec, errno); - return -errno; - } - status = _appinfo_get_value(ai, AIT_STATUS); if (status == NULL) { _E("Failed to get status value");