Get locatedb from ~ftp.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@799 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-09-29 03:55:30 +00:00
parent 02a9fad78e
commit dcb642953d

View File

@@ -1879,7 +1879,7 @@ find(char *pattern)
{
char line[1024];
FILE *f;
sprintf(line, "/bin/locate -d /etc/locatedb %s", pattern);
sprintf(line, "/bin/locate -d %s %s", ftp_rooted("/etc/locatedb"), pattern);
f = ftpd_popen(line, "r", 1, 1);
if(f == NULL){
perror_reply(550, "/bin/locate");