diff options
author | antirez <antirez@gmail.com> | 2014-06-24 12:49:18 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-06-24 12:49:28 +0200 |
commit | 46319094dba97e1e5627ad52687d8d9dab26c070 (patch) | |
tree | 99cddbcacc6199b6cf5cce3171c6b54573a26d12 | |
parent | e21e0ba3dcd67d9048ecea9be5398b2a791e7bc5 (diff) | |
download | redis-46319094dba97e1e5627ad52687d8d9dab26c070.tar.gz |
Old form of CLIENT KILL should still allow suicide.
-rw-r--r-- | src/networking.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/networking.c b/src/networking.c index 78d180867..7b6f46b34 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1362,6 +1362,7 @@ void clientCommand(redisClient *c) { if (c->argc == 3) { /* Old style syntax: CLIENT KILL <addr> */ addr = c->argv[2]->ptr; + skipme = 0; /* With the old form, you can kill yourself. */ } else if (c->argc > 3) { int i = 2; /* Next option index. */ |