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
34aadf79
Commit
34aadf79
authored
Nov 14, 2015
by
antirez
Browse files
Lua debugging: fix error message for SCRIPT DEBUG.
"async" -> "sync". Thanks to Itamar Haber for reporting.
parent
3d24cd6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
34aadf79
...
...
@@ -1474,7 +1474,7 @@ void scriptCommand(client *c) {
addReply
(
c
,
shared
.
ok
);
c
->
flags
|=
CLIENT_LUA_DEBUG_SYNC
;
}
else
{
addReplyError
(
c
,
"Use SCRIPT DEBUG yes/
a
sync/no"
);
addReplyError
(
c
,
"Use SCRIPT DEBUG yes/sync/no"
);
}
}
else
{
addReplyError
(
c
,
"Unknown SCRIPT subcommand or wrong # of args."
);
...
...
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