2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

aa-status: bump the json version that aa-status outputs

aa-status output has changed slightly to account for the newer profile
modes. This means the json version needs to be bumped so consumers
can detect the change.

PR: https://gitlab.com/apparmor/apparmor/-/merge_requests/508
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Steve Beattie <steve.beattie@canonical.com>
This commit is contained in:
John Johansen
2020-05-04 19:49:31 -07:00
parent c386d93581
commit 65f1d33a88

View File

@@ -449,7 +449,7 @@ static int detailed_output(int json) {
}
if (json) {
printf("{\"version\": \"1\", \"profiles\": {");
printf("{\"version\": \"2\", \"profiles\": {");
} else {
dprintf("%zd profiles are loaded.\n", nprofiles);
}