can exec logic fix

SVN revision: 17087
This commit is contained in:
Carsten Haitzler 2005-09-30 08:41:21 +00:00
parent 163778cfc2
commit b13ee0052b
1 changed files with 2 additions and 5 deletions

View File

@ -212,11 +212,8 @@ ecore_file_can_exec(const char *file)
{
if (st.st_mode & S_IXGRP) ok = 1;
}
else
{
if (st.st_mode & S_IXOTH) ok = 1;
}
return(ok);
if (st.st_mode & S_IXOTH) ok = 1;
return (ok);
}
char *