Fix formatting for bound defaults with multiple entries in the binding.
The entries in the binding were separated with " ," instead of ", ".
This commit is contained in:
@@ -744,8 +744,8 @@ display_bound_defaults_by_type(struct sudoers_parse_tree *parse_tree,
|
||||
if (m != TAILQ_FIRST(binding))
|
||||
sudo_lbuf_append(lbuf, ", ");
|
||||
sudoers_format_member(lbuf, parse_tree, m, ", ", atype);
|
||||
sudo_lbuf_append(lbuf, " ");
|
||||
}
|
||||
sudo_lbuf_append(lbuf, " ");
|
||||
} else
|
||||
sudo_lbuf_append(lbuf, ", ");
|
||||
sudoers_format_default(lbuf, d);
|
||||
|
Reference in New Issue
Block a user