From fc47559b84e9708f97b66ff4123950fb33de9dc3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 31 Jan 2013 15:24:34 +0100 Subject: [PATCH] Only disable stdout ETA output if results are going to stdout If they are being redirected to a file with --output, then we can still use the normal runtime ETA output on stdout. Signed-off-by: Jens Axboe --- eta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eta.c b/eta.c index 39fe10fc..cfb86793 100644 --- a/eta.c +++ b/eta.c @@ -285,7 +285,8 @@ int calc_thread_status(struct jobs_eta *je, int force) static struct timeval rate_prev_time, disp_prev_time; if (!force) { - if (output_format != FIO_OUTPUT_NORMAL) + if (output_format != FIO_OUTPUT_NORMAL && + f_out == stdout) return 0; if (temp_stall_ts || eta_print == FIO_ETA_NEVER) return 0; -- 2.25.1