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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user