SCRIPT LOAD now returns the SHA1 instead of +OK

This commit is contained in:
antirez
2011-10-25 14:46:15 +02:00
parent 8cb8d417b1
commit e5abf6ef19
2 changed files with 2 additions and 2 deletions

View File

@ -737,8 +737,8 @@ void scriptCommand(redisClient *c) {
return;
}
}
addReplyBulkCBuffer(c,funcname+2,40);
sdsfree(sha);
addReply(c,shared.ok);
} else {
addReplyError(c, "Unknown SCRIPT subcommand or wrong # of args.");
}