projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b1c80
)
runasgroups not runasgroup in the Cmnd_Spec.
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Mon, 18 Nov 2013 23:28:10 +0000
(16:28 -0700)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Mon, 18 Nov 2013 23:28:10 +0000
(16:28 -0700)
plugins/sudoers/visudo_json.c
patch
|
blob
|
history
diff --git
a/plugins/sudoers/visudo_json.c
b/plugins/sudoers/visudo_json.c
index 2cd3ca79ff3eadf8f7abd1ec8c65bbd94d76d4bf..22900537685a0d9de56f6813d9f41e6443119b10 100644
(file)
--- 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\"runasgroup
s
\": [\n", indent, "");
indent += 4;
TAILQ_FOREACH(m, cs->runasgrouplist, entries) {
print_member_json(m, TYPE_RUNASGROUP,