summaryrefslogtreecommitdiffstats
path: root/filescan-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'filescan-utils.c')
-rw-r--r--filescan-utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/filescan-utils.c b/filescan-utils.c
index f58a2c9..1a2805f 100644
--- a/filescan-utils.c
+++ b/filescan-utils.c
@@ -56,7 +56,9 @@ static int ScanDir(char* searchPath, CtlScanDirModeT mode, size_t extentionLen,
}
// Unknown type is accepted to support dump filesystems
- if (dirEnt->d_type == DT_REG || dirEnt->d_type == DT_UNKNOWN) {
+ if (dirEnt->d_type == DT_REG ||
+ dirEnt->d_type == DT_UNKNOWN ||
+ dirEnt->d_type == DT_LNK) {
// check prefix and extention
ssize_t extentionIdx = strlen(dirEnt->d_name) - extentionLen;