diff options
-rw-r--r-- | src/main-cynagorad.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main-cynagorad.c b/src/main-cynagorad.c index 4a90cc0..0af145c 100644 --- a/src/main-cynagorad.c +++ b/src/main-cynagorad.c @@ -175,6 +175,9 @@ int main(int ac, char **av) cyn_server_t *server; char *spec_socket_admin, *spec_socket_check, *spec_socket_agent; + setlinebuf(stdout); + setlinebuf(stderr); + /* scan arguments */ for (;;) { opt = getopt_long(ac, av, shortopts, longopts, NULL); |