mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
MINOR: init: make stdout unbuffered
printf is unusable for debugging without this, and printf() is not used for anything else.
This commit is contained in:
parent
e8ade385b4
commit
5fa300da89
@ -2492,6 +2492,7 @@ int main(int argc, char **argv)
|
||||
char errmsg[100];
|
||||
int pidfd = -1;
|
||||
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
init(argc, argv);
|
||||
signal_register_fct(SIGQUIT, dump, SIGQUIT);
|
||||
signal_register_fct(SIGUSR1, sig_soft_stop, SIGUSR1);
|
||||
|
Loading…
Reference in New Issue
Block a user