summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-12-05 16:35:32 +0100
committerantirez <antirez@gmail.com>2013-12-05 16:35:32 +0100
commit11e81a1e9ad1d1b4639aa8ed3fd2616ed8d1f176 (patch)
tree72de378d3a94427d675affca85fac90637e13dd5 /src/scripting.c
parent74da4a574ffa39c09f1ff85fc27c0614bc23d532 (diff)
downloadredis-11e81a1e9ad1d1b4639aa8ed3fd2616ed8d1f176.tar.gz
Fixed grammar: before H the article is a, not an.
Diffstat (limited to 'src/scripting.c')
-rw-r--r--src/scripting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripting.c b/src/scripting.c
index ac1a913f0..e2ce60765 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -895,7 +895,7 @@ void evalGenericCommand(redisClient *c, int evalsha) {
/* Select the right DB in the context of the Lua client */
selectDb(server.lua_client,c->db->id);
- /* Set an hook in order to be able to stop the script execution if it
+ /* Set a hook in order to be able to stop the script execution if it
* is running for too much time.
* We set the hook only if the time limit is enabled as the hook will
* make the Lua script execution slower. */
@@ -1059,7 +1059,7 @@ void scriptCommand(redisClient *c) {
if (server.lua_caller == NULL) {
addReplySds(c,sdsnew("-NOTBUSY No scripts in execution right now.\r\n"));
} else if (server.lua_write_dirty) {
- addReplySds(c,sdsnew("-UNKILLABLE Sorry the script already executed write commands against the dataset. You can either wait the script termination or kill the server in an hard way using the SHUTDOWN NOSAVE command.\r\n"));
+ addReplySds(c,sdsnew("-UNKILLABLE Sorry the script already executed write commands against the dataset. You can either wait the script termination or kill the server in a hard way using the SHUTDOWN NOSAVE command.\r\n"));
} else {
server.lua_kill = 1;
addReply(c,shared.ok);