diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2022-06-27 11:49:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2022-06-27 11:49:31 +0300 |
commit | d3f504875cb94d2e458e1e233e5ab8b40281fe2b (patch) | |
tree | 742f161a6fa3ffe60268fea425ebb70848a3c343 | |
parent | c96c160375bd1f3861651311e8645fb6478a1ffd (diff) | |
download | gdbm-d3f504875cb94d2e458e1e233e5ab8b40281fe2b.tar.gz |
Fix bug #569
* tools/gdbmshell.c (input_history_begin): return GDBMSHELL_ERR
if history is not available.
-rw-r--r-- | tools/gdbmshell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |