summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-08-05 14:40:38 +0000
committeryar <yar@FreeBSD.org>2002-08-05 14:40:38 +0000
commit37e3668bf5f8b86ab1afc3d4718037fb5abac356 (patch)
tree025f50f26fb70a0d05b25607e3a3b76272536383 /libexec
parent4396de5e383b44a75a878f14bd190aa7afe50b22 (diff)
downloadFreeBSD-src-37e3668bf5f8b86ab1afc3d4718037fb5abac356.zip
FreeBSD-src-37e3668bf5f8b86ab1afc3d4718037fb5abac356.tar.gz
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
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 0f48140..dbb6951 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");
OpenPOWER on IntegriCloud