From: Todd C. Miller Date: Mon, 18 Nov 2013 23:28:10 +0000 (-0700) Subject: runasgroups not runasgroup in the Cmnd_Spec. X-Git-Tag: SUDO_1_8_9^2~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f16ce9714d1e2ed5e6bc61cde6fdd52d20295c8b;p=sudo runasgroups not runasgroup in the Cmnd_Spec. --- diff --git a/plugins/sudoers/visudo_json.c b/plugins/sudoers/visudo_json.c index 2cd3ca79f..229005376 100644 --- a/plugins/sudoers/visudo_json.c +++ b/plugins/sudoers/visudo_json.c @@ -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,