From b2603d5c7664b697af892cda2e2a2a6926593172 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 10 Dec 2000 21:46:10 +0000 Subject: [PATCH] some spec-violating mirror software assumes that you can do things like `LIST -CF'; don't pass `--' to ls so this actually works git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9336 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 cd294115b..5ff328814 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -2134,9 +2134,9 @@ list_file(char *file) pdata = -1; } else { #ifdef HAVE_LS_A - const char *cmd = "/bin/ls -lA -- %s"; + const char *cmd = "/bin/ls -lA %s"; #else - const char *cmd = "/bin/ls -la -- %s"; + const char *cmd = "/bin/ls -la %s"; #endif retrieve(cmd, file); }