It is now possible to specify - as config file name to read it from stdin

This commit is contained in:
antirez
2009-06-10 14:40:11 +02:00
parent 0df1ead745
commit c9a111acf4
2 changed files with 16 additions and 11 deletions

View File

@ -154,7 +154,7 @@ class Redis
connect_to_server if !@sock
begin
raw_call_command(argv.dup)
rescue Errno::ECONNRESET
rescue Errno::ECONNRESET, Errno::EPIPE
@sock.close
connect_to_server
raw_call_command(argv.dup)