runasgroups not runasgroup in the Cmnd_Spec.

This commit is contained in:
Todd C. Miller
2013-11-18 16:28:10 -07:00
parent a1b1c80b26
commit f16ce9714d

View File

@@ -724,7 +724,7 @@ print_cmndspec_json(struct cmndspec *cs, struct cmndspec **nextp, int indent)
/* Print runasgrouplist */
if (cs->runasgrouplist != NULL) {
printf("%*s\"runasgroup\": [\n", indent, "");
printf("%*s\"runasgroups\": [\n", indent, "");
indent += 4;
TAILQ_FOREACH(m, cs->runasgrouplist, entries) {
print_member_json(m, TYPE_RUNASGROUP,