summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_findfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_findfile.c b/src/tool_findfile.c
index 82fc41580..766586f69 100644
--- a/src/tool_findfile.c
+++ b/src/tool_findfile.c
@@ -131,6 +131,7 @@ char *findfile(const char *fname, int dotscore)
defined so we skip the extended check */
continue;
filename++; /* move past the leading dot */
+ dotscore = 0; /* disable it for this check */
}
path = checkhome(home, filename, dotscore ? dotscore - 1 : 0);
curl_free(home);