]> git.saurik.com Git - apt.git/commit - apt-pkg/deb/dpkgpm.cc
Handle interrupt when running Pre-Install hooks
authorJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 22:45:25 +0000 (00:45 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 22:45:25 +0000 (00:45 +0200)
commitb2cfacf1180e4b3fcbb2ae2ea52cf270ef74e971
treece900add2de24419cadf12a7ccc764e414626246
parent4adc750a2a8d0c6b2c03353b5538bc7446020f68
Handle interrupt when running Pre-Install hooks

If we receive an interrupt, set a flag and do not abort
immediately without waiting for the child. Once the child
exited, exit with an error if the interrupted flag is set.

Closes: #832593
apt-pkg/deb/dpkgpm.cc