diff --git a/src/tools/pw-top.c b/src/tools/pw-top.c index 80f162451..4df68a86b 100644 --- a/src/tools/pw-top.c +++ b/src/tools/pw-top.c @@ -577,7 +577,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; }