evalsha with 0 key should return -1 pos

This commit is contained in:
zezhou.yu 2016-12-08 01:29:17 +08:00
parent 854c88a72c
commit e916395f6c
No known key found for this signature in database
GPG Key ID: 9CF35EF1A6E62AE7
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" {
return 3
} else {
return 0
return -1
}
}
if info == nil {