summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-26 15:22:13 -0500
committerDan McGee <dan@archlinux.org>2011-09-26 16:02:12 -0500
commitd26d50e664665905d79a3d5fa589b2ca0bec4ba0 (patch)
tree0b6f6c254220ec71ce81aa8aab98866acb3a7d17 /scripts
parent2517ba3303489ed35512cdaf2493ec81efd145e7 (diff)
downloadpacman-d26d50e664665905d79a3d5fa589b2ca0bec4ba0.tar.xz
Revamp pacman signal handler
* All errors now go to stderr, so do the same here and simplify the writing of the error message. * Add SIGHUP to the handled signal list, and don't repeat code. * Attempt to release the transaction (e.g. remove the lock file) for all of HUP, INT, and TERM. Signals HUP and INT respects transaction state, TERM will immediately terminate the process. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions