From f6b8d4e6ca179d4431d3dc3a851850f8dbecf079 Mon Sep 17 00:00:00 2001 From: Sebastian Stark Date: Mon, 2 Feb 2009 10:32:12 +0100 Subject: [PATCH] flush output after each command in interactive mode. Otherwise "clients" that are not terminals have difficulties seeing adu's output. --- interactive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/interactive.c b/interactive.c index 7327ee1..913d3f0 100644 --- a/interactive.c +++ b/interactive.c @@ -220,6 +220,7 @@ int com_interactive(void) ret = exec_interactive_command(line); if (ret < 0) printf("%s\n", adu_strerror(-ret)); + fflush(NULL); } return ret; } -- 2.39.5