summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-06-29 23:01:08 -0500
committer@syxhe <https://t.me/syxhe>2024-06-29 23:01:08 -0500
commit72b02200dc97d58830e32655886565879b288d60 (patch)
tree0a9a1d075142a4e4c8297d1d8c14c4158c5ad329 /src
parent33eca360a97dae7aab5e8d30376759aa9fc34c61 (diff)
Don't nuke config files
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 00ad141..c3b6d54 100644
--- a/src/search.c
+++ b/src/search.c
@@ -22,7 +22,7 @@
22 22
23int nodesort(const struct dirent *node, int (*S_IS_CALLBACK)(mode_t)) { 23int nodesort(const struct dirent *node, int (*S_IS_CALLBACK)(mode_t)) {
24 // Ignore . and .. folders 24 // Ignore . and .. folders
25 if(strcmp(node->d_name, ".") == 0 || strcmp(node->d_name, "..") == 0) 25 if(strcmp(node->d_name, ".") == 0 || strcmp(node->d_name, "..") == 0 || strcmp(node->d_name, ".config") == 0)
26 return 0; 26 return 0;
27 27
28 // Stat the file 28 // Stat the file