redis-cli prompt bug fix #887

Merged
merged 1 commit into from Jan 19, 2013

Projects

None yet

3 participants

@charsyam
Contributor

after failing connect to server through redis-cli

and try to redis server using "redis-server"

It couldn't update the redis-cli prompt

before:

charsyam@ubuntu:~/projects/redis-charsyam/src$ redis-cli -p 3000
Could not connect to Redis at 127.0.0.1:3000: Connection refused
not connected> connect 127.0.0.1 6379
redis 127.0.0.1:3000> <-- it isn't updated.

applying this patch.

charsyam@ubuntu:~/projects/redis-charsyam/src$ ./redis-cli -p 3000
Could not connect to Redis at 127.0.0.1:3000: Connection refused
not connected> connect 127.0.0.1 6379
redis 127.0.0.1:6379>

It is updated well.

@antirez antirez merged commit 61dfc2e into antirez:unstable Jan 19, 2013
Owner
antirez commented Jan 19, 2013

Thanks, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment