forked from extern/endlessh
Make log messages line buffered
This commit is contained in:
parent
112e5b303f
commit
94aa40778c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user