about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-17 15:28:43 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-17 15:28:43 +0000
commit97387dfe6537d023d3833da9cd3eb2c5f9795f55 (patch)
treefa657156fc868144ceea8060cb1888541dde27f3
parent85cea025033f338282f9bdf563583824bc7621aa (diff)
downloadzsh-97387dfe6537d023d3833da9cd3eb2c5f9795f55.tar.gz
zsh-97387dfe6537d023d3833da9cd3eb2c5f9795f55.tar.xz
zsh-97387dfe6537d023d3833da9cd3eb2c5f9795f55.zip
zsh-workers/7921
-rw-r--r--Src/glob.c2
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';
 	    }