diff --git a/src/tools/pw-top.c b/src/tools/pw-top.c index aafa0d5eb..2c3cb0009 100644 --- a/src/tools/pw-top.c +++ b/src/tools/pw-top.c @@ -540,7 +540,7 @@ static void do_refresh(struct data *d, bool force_refresh) continue; print_node(d, &n->info, f, y++); - if(y > LINES) + if(!d->batch_mode && y > LINES) break; }