mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge [3.0, 3.1] Fix invalid aa-status --json
The previous patch changed the final }} to } - which is correct in master, but breaks the code in the 3.x branches. I propose this patch for 3.0 and 3.1. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1046 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
f34d60b1e8
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ static int detailed_output(FILE *json) {
|
|||
if (need_finish > 0) {
|
||||
fprintf(json, "]");
|
||||
}
|
||||
fprintf(json, "}\n");
|
||||
fprintf(json, "}}\n");
|
||||
}
|
||||
|
||||
exit:
|
||||
|
|
Loading…
Add table
Reference in a new issue