diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-26 15:22:13 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-26 16:02:12 -0500 |
commit | d26d50e664665905d79a3d5fa589b2ca0bec4ba0 (patch) | |
tree | 0b6f6c254220ec71ce81aa8aab98866acb3a7d17 /test/pacman/tests/sync137.py | |
parent | 2517ba3303489ed35512cdaf2493ec81efd145e7 (diff) |
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 'test/pacman/tests/sync137.py')
0 files changed, 0 insertions, 0 deletions