summaryrefslogtreecommitdiffstats
path: root/proto/PKGBUILD.proto
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-01-17 01:12:41 +0100
committerDan McGee <dan@archlinux.org>2012-01-19 05:01:12 +0100
commitc231c9af9712e95e58f660d46bd8feaf6fd891e2 (patch)
tree78aee24bf33a856e5602dabd894cde54a9aa120e /proto/PKGBUILD.proto
parent24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec (diff)
downloadpacman-c231c9af9712e95e58f660d46bd8feaf6fd891e2.tar.gz
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 'proto/PKGBUILD.proto')
0 files changed, 0 insertions, 0 deletions