diff options
author | Olivier Brunel <jjk@jjacky.com> | 2018-10-17 17:11:01 +0200 |
---|---|---|
committer | Andrew Gregory <andrew@archlinux.org> | 2018-11-19 02:25:18 +0100 |
commit | b39a62f57551a2e23ceaa37b3fbc71a2273545e6 (patch) | |
tree | 2ee5a276e9b93fc0bb5c2ae9c275f340e77e55d7 /lib/libalpm/be_local.c | |
parent | cad8fe2fbfc3a63554a2537ea7b5627a71453075 (diff) | |
download | pacman-b39a62f57551a2e23ceaa37b3fbc71a2273545e6.tar.gz pacman-b39a62f57551a2e23ceaa37b3fbc71a2273545e6.tar.xz |
alpm: Fix SIGINT handling re: aborting download
Upon receiving SIGINT a flag is set to abort the (curl) download.
However, since it was never reset/initialized, if a front-end doesn't
actually exit on SIGINT, and later tries any operation that needs to
perform a new download, said download would always get aborted right
away due to the flag not having been reset.
(cherry picked from commit ffde85aadfe0e08fb710102d0a547335e9d1a200)
Diffstat (limited to 'lib/libalpm/be_local.c')
0 files changed, 0 insertions, 0 deletions