diff options
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c index 4b3f3890c..f3ebfc072 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -476,7 +476,7 @@ scanner(Complist q) if (!errflag && !(q->closure && !strcmp(str, "."))) { addpath(str); - if (!closure || statfullpath("", NULL, 1)) + if (!closure || !statfullpath("", NULL, 1)) scanner((q->closure) ? q : q->next); pathbuf[pathpos = oppos] = '\0'; } |