diff options
Diffstat (limited to 'libbb/isdirectory.c')
-rw-r--r-- | libbb/isdirectory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c index 3dfe105..e8ef2df 100644 --- a/libbb/isdirectory.c +++ b/libbb/isdirectory.c @@ -39,7 +39,7 @@ int is_directory(const char *fileName, const int followLinks, struct stat *statB ++didMalloc; } - if (followLinks == TRUE) + if (followLinks) status = stat(fileName, statBuf); else status = lstat(fileName, statBuf); |