diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2018-10-13 04:16:53 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-10-21 11:19:48 +0200 |
commit | ac959bb9c6ce549047a954109ae825158855e386 (patch) | |
tree | c498dff0d2256e6decb9b2a835c7f55959fd9630 /scripts/completion/zsh_completion.in | |
parent | 9886566abb375043740167ce5066f1a186c71176 (diff) | |
download | pacman-ac959bb9c6ce549047a954109ae825158855e386.tar.gz pacman-ac959bb9c6ce549047a954109ae825158855e386.tar.xz |
handle EINTR while polling scripts/hooks
If poll() is interrupted by a signal, alpm was closing the socket it
uses for listening to script/hook output. This would drop script output
at the least and kill the script at the worst.
Fixes FS#60396
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/completion/zsh_completion.in')
0 files changed, 0 insertions, 0 deletions