diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-05-30 10:38:30 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-20 18:01:21 +0100 |
commit | 3e2744da3f74e51d40b538081fc3636aa77ae8b9 (patch) | |
tree | 3e806fa1dfcdbe2fb6ce70839d984e88596f97ef /.github | |
parent | f65e33ee8cbfa46cacb7f69dec5b80064aa5378b (diff) | |
download | sos-3e2744da3f74e51d40b538081fc3636aa77ae8b9.tar.gz |
[policies] mark new user preset as not builtin
The changes to prevent attempts to write builtin presets also
prevent user presets from being written:
# ./sosreport --batch --debug --profile system --add-preset qux2
sosreport (version 3.5)
Could not add preset: Cannot write built-in preset
This is because although we correctly clear pd.builtin on preset
load, we do not clear the flag when initialising a new user
preset from the command line.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions