aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2017-09-06 15:11:12 +0200
committerBryn M. Reeves <bmr@redhat.com>2017-10-19 16:57:25 +0100
commit8b3b8acd47da70a5d92fcde1c4919f8558a15e29 (patch)
tree73ab4cf01c5e3eebdc13772c25b1d975cd0bd212 /man
parent66289f8edf426845891f40bb9cf8efa951a8391a (diff)
downloadsos-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 'man')
0 files changed, 0 insertions, 0 deletions