mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Lua debugger: redis-cli: allow restart after end of session.
This commit is contained in:
parent
58573f1dd2
commit
6604e04260
@ -1107,7 +1107,9 @@ static void repl(void) {
|
||||
{
|
||||
exit(0);
|
||||
} else if (strcasecmp(argv[0],"restart") == 0) {
|
||||
if (config.eval_ldb) {
|
||||
if (config.eval) {
|
||||
config.eval_ldb = 1;
|
||||
config.output = OUTPUT_RAW;
|
||||
return; /* Return to evalMode to restart the session. */
|
||||
} else {
|
||||
printf("Use 'restart' only in Lua debugging mode.");
|
||||
|
Loading…
Reference in New Issue
Block a user