Merge pull request #6149 from madolson/acl-spelling

Fixed some spelling issues in ACL codepath including a user facing error
This commit is contained in:
Salvatore Sanfilippo
2019-06-07 22:54:52 +02:00
committed by GitHub
2 changed files with 12 additions and 12 deletions

View File

@ -3327,7 +3327,7 @@ int processCommand(client *c) {
if (acl_retval == ACL_DENIED_CMD)
addReplyErrorFormat(c,
"-NOPERM this user has no permissions to run "
"the '%s' command or its subcommnad", c->cmd->name);
"the '%s' command or its subcommand", c->cmd->name);
else
addReplyErrorFormat(c,
"-NOPERM this user has no permissions to access "