From dcb642953d69188f3e450e68b2c70d37e5b3ac10 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 29 Sep 1996 03:55:30 +0000 Subject: [PATCH] Get locatedb from ~ftp. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@799 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index 2e1eefba3..a056718ad 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -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");