about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-10-02 18:40:35 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-10-02 18:40:35 +0000
commit5ca1864f94d7f30118cff411bd9c0625a5d92811 (patch)
treedf445de0b754744fbb0b70693f489083c1b8f3d1 /Src/glob.c
parent8e628ac624c4df24f4bc39166dbbc2c01c91d208 (diff)
downloadzsh-5ca1864f94d7f30118cff411bd9c0625a5d92811.tar.gz
zsh-5ca1864f94d7f30118cff411bd9c0625a5d92811.tar.xz
zsh-5ca1864f94d7f30118cff411bd9c0625a5d92811.zip
Change some zerr to zwarn for consistency.
Diffstat (limited to 'Src/glob.c')
-rw-r--r--Src/glob.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/glob.c b/Src/glob.c
index 28cf81f24..5e6283ed0 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -573,8 +573,7 @@ scanner(Complist q)
 			if (statfullpath(fn, &buf, !q->follow)) {
 			    if (errno != ENOENT && errno != EINTR &&
 				errno != ENOTDIR && !errflag) {
-				zerr("%e: %s", fn, errno);
-				errflag = 0;
+				zwarn("%e: %s", fn, errno);
 			    }
 			    continue;
 			}