From 37e3668bf5f8b86ab1afc3d4718037fb5abac356 Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 5 Aug 2002 14:40:38 +0000 Subject: 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 --- libexec/ftpd/ftpcmd.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec') 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"); -- cgit v1.1