diff --git a/endlessh.c b/endlessh.c index 745b39d..189c51f 100644 --- a/endlessh.c +++ b/endlessh.c @@ -253,7 +253,8 @@ main(int argc, char **argv) port = tmp; break; case 'v': - loglevel++; + if (!loglevel++) + setvbuf(stdout, 0, _IOLBF, 0); break; default: usage(stderr);