diff options
author | canyonknight <canyonknight@gmail.com> | 2012-01-16 19:12:41 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-18 22:01:12 -0600 |
commit | c231c9af9712e95e58f660d46bd8feaf6fd891e2 (patch) | |
tree | 78aee24bf33a856e5602dabd894cde54a9aa120e /lib/libalpm/po | |
parent | 24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec (diff) | |
download | pacman-c231c9af9712e95e58f660d46bd8feaf6fd891e2.tar.xz |
Improve exit statuses and error messages in pacman-key
Return codes from gpg commands are currently lost. This adds the functionality
of taking non-zero exit statuses from gpg. This includes error reporting for all
gpg commands that are run individually, run in a loop, and run through a pipe.
Includes the check_keyids_exist function which verifies a key exists locally
prior to attempted local manipulation of the key.
If a gpg command has a non-zero status, pacman-key will now exit with a non-zero
status. It will print a gettext error message of gpg's failure.
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po')
0 files changed, 0 insertions, 0 deletions