aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2002-08-05 14:40:38 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2002-08-05 14:40:38 +0000
commit1d1dc13be6fa78af91b08eafd3462057b84fcbc9 (patch)
tree025f50f26fb70a0d05b25607e3a3b76272536383 /libexec
parenteffa0530c4d1954ee96d8e6ccfca4d69aa175683 (diff)
downloadsrc-1d1dc13be6fa78af91b08eafd3462057b84fcbc9.tar.gz
src-1d1dc13be6fa78af91b08eafd3462057b84fcbc9.zip
Since GLOB_NOCHECK is set in the glob(3) call,
glob(3) will return at least one pathname unless a system error has occured. It's not a "not found" error otherwise. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=101380
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpcmd.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 0f48140eefbc..dbb6951bef82 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -977,7 +977,7 @@ pathname
gl.gl_matchc = MAXGLOBARGS;
if (glob($1, flags, NULL, &gl) ||
gl.gl_pathc == 0) {
- reply(550, "not found");
+ reply(550, "wildcard expansion error");
$$ = NULL;
} else if (gl.gl_pathc > 1) {
reply(550, "ambiguous");