aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2019-03-19 17:30:16 +0000
committerBryn M. Reeves <bmr@redhat.com>2019-03-19 17:30:16 +0000
commit430806a2bc1d11b60b867e0296e7200e17595cfc (patch)
treebed13d0bf3d320de12b0c8f96ddf2e3e745c60cc /po
parent39995744dcc81df56baf173fdbfc1b1a037f3ced (diff)
downloadsos-430806a2bc1d11b60b867e0296e7200e17595cfc.tar.gz
[sosreport] raise SystemExit out of list handlers
Since the temporary directories have already been set up by the time we process the --list-* handling (plugins, profiles, presets), we still need to follow the _cleanup() path at exit. To avoid a duplicate _cleanup() and resulting File Not Found exception, raise SystemExit out of these paths, which takes us through the normal exception handling in SoSReport.execute() and is consistent with all other paths through the command. Resolves: #1594. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions