Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6604e042
Commit
6604e042
authored
Nov 17, 2015
by
antirez
Browse files
Lua debugger: redis-cli: allow restart after end of session.
parent
58573f1d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
6604e042
...
...
@@ -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.");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment