summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-26 22:22:13 +0200
committerDan McGee <dan@archlinux.org>2011-09-26 23:02:12 +0200
commitd26d50e664665905d79a3d5fa589b2ca0bec4ba0 (patch)
tree0b6f6c254220ec71ce81aa8aab98866acb3a7d17 /lib/libalpm/sync.c
parent2517ba3303489ed35512cdaf2493ec81efd145e7 (diff)
downloadpacman-d26d50e664665905d79a3d5fa589b2ca0bec4ba0.tar.gz
pacman-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 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions