mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00: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);
|
exit(0);
|
||||||
} else if (strcasecmp(argv[0],"restart") == 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. */
|
return; /* Return to evalMode to restart the session. */
|
||||||
} else {
|
} else {
|
||||||
printf("Use 'restart' only in Lua debugging mode.");
|
printf("Use 'restart' only in Lua debugging mode.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user