From ce4361a9852fe38a947caef65be5757e19270912 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Mon, 18 Oct 1999 09:43:35 +0000 Subject: [PATCH] (list_file): pass filename to ls git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7180 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index 57aabfbb2..ca8e95630 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -2094,9 +2094,9 @@ list_file(const char *file) pdata = -1; } else { #ifdef HAVE_LS_A - char *cmd = "/bin/ls -lA"; + char *cmd = "/bin/ls -lA %s"; #else - char *cmd = "/bin/ls -la"; + char *cmd = "/bin/ls -la %s"; #endif retrieve(cmd, file); }