mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 18:17:09 +00:00
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.
This commit is contained in:
parent
96395d9b82
commit
29b21b09d4
@ -548,7 +548,7 @@ static int detailed_output(FILE *json) {
|
|||||||
if (need_finish > 0) {
|
if (need_finish > 0) {
|
||||||
fprintf(json, "]");
|
fprintf(json, "]");
|
||||||
}
|
}
|
||||||
fprintf(json, "}\n");
|
fprintf(json, "}}\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user