diff options
Diffstat (limited to 'utils/ftpdir.c')
-rw-r--r-- | utils/ftpdir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ftpdir.c b/utils/ftpdir.c index b7bcce2b..4423f421 100644 --- a/utils/ftpdir.c +++ b/utils/ftpdir.c @@ -271,6 +271,8 @@ main (int argc, char **argv) fputs (sep, stdout); if (use_pfx) printf (pfx, h->name, dir); + if ((use_pfx && *pfx) || (state->arg_num > 0 && *sep)) + fflush (stdout); if (interpret) errs |= ftpdir2 (dir, h); else |