Merge pull request #439 from rayzyar/evalShaFirstKey

evalsha with 0 key should return -1 pos
This commit is contained in:
Vladimir Mihailenco 2016-12-09 15:50:34 +02:00 committed by GitHub
commit 30be278fea
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
if cmd.arg(2) != "0" { if cmd.arg(2) != "0" {
return 3 return 3
} else { } else {
return 0 return -1
} }
} }
if info == nil { if info == nil {