aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scan-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan-tree.c b/scan-tree.c
index a0e09ce..805fc16 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -198,7 +198,7 @@ static void scan_path(const char *base, const char *path, repo_config_fn fn)
free(buf);
continue;
}
- if (S_ISDIR(st.st_mode))
+ if (S_ISDIR(st.st_mode) || S_ISLNK(st.st_mode))
scan_path(base, buf, fn);
free(buf);
}