diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FileUtil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/FileUtil.cc b/src/FbTk/FileUtil.cc index b70eff3..26b6e78 100644 --- a/src/FbTk/FileUtil.cc +++ b/src/FbTk/FileUtil.cc | |||
@@ -62,7 +62,7 @@ bool FileUtil::isRegularFile(const char* filename) { | |||
62 | 62 | ||
63 | bool FileUtil::isExecutable(const char* filename) { | 63 | bool FileUtil::isExecutable(const char* filename) { |
64 | struct stat buf; | 64 | struct stat buf; |
65 | if (!filename || !stat(filename, &buf)) | 65 | if (!filename || stat(filename, &buf)) |
66 | return false; | 66 | return false; |
67 | 67 | ||
68 | return buf.st_mode & S_IXUSR || | 68 | return buf.st_mode & S_IXUSR || |