diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2017-09-06 15:11:12 +0200 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-10-19 16:57:25 +0100 |
commit | 8b3b8acd47da70a5d92fcde1c4919f8558a15e29 (patch) | |
tree | 73ab4cf01c5e3eebdc13772c25b1d975cd0bd212 /po/vi.po | |
parent | 66289f8edf426845891f40bb9cf8efa951a8391a (diff) | |
download | sos-8b3b8acd47da70a5d92fcde1c4919f8558a15e29.tar.gz |
[policies] stop execution on Ctrl+C during user input
When pressing Ctrl+C during user input (name and case id), sosreport
treats that as an empty string and starts to collect data. It must
terminate instead.
Catch the KeyboardIntterupt, print a newline (to avoid munging the
terminal too much), and then re-raise the exception to cause the
process to exit.
Allow all other exceptions to propagate up and do not attempt to
continue.
Resolves: #1094
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po/vi.po')
0 files changed, 0 insertions, 0 deletions