summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 5bf32ec894c..b31e9feda45 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -368,6 +368,7 @@ cli_out (const char *fmt, ...)
{
struct cli_state *state = NULL;
va_list ap;
+ int ret = 0;
state = global_state;
@@ -378,7 +379,10 @@ cli_out (const char *fmt, ...)
return cli_rl_out(state, fmt, ap);
#endif
- return vprintf (fmt, ap);
+ ret = vprintf (fmt, ap);
+ printf ("\n");
+
+ return ret;
}
struct rpc_clnt *