From d3f504875cb94d2e458e1e233e5ab8b40281fe2b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 27 Jun 2022 11:49:31 +0300 Subject: Fix bug #569 * tools/gdbmshell.c (input_history_begin): return GDBMSHELL_ERR if history is not available. --- tools/gdbmshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gdbmshell.c b/tools/gdbmshell.c index f3cbae8..71cca72 100644 --- a/tools/gdbmshell.c +++ b/tools/gdbmshell.c @@ -1900,7 +1900,7 @@ input_history_begin (struct command_param *param, /* TRANSLATORS: %s is the stream name */ terror (_("input history is not available for %s input stream"), input_stream_name ()); - return GDBMSHELL_OK; + return GDBMSHELL_ERR; } switch (param->argc) -- cgit v1.2.1