diff options
author | canyonknight <canyonknight@gmail.com> | 2012-01-16 19:09:56 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-18 22:01:00 -0600 |
commit | 24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec (patch) | |
tree | e2fa8a83d059b504bcbef1498e2e72d31b530304 /lib/libalpm/pkghash.c | |
parent | 430b0df7794815049f37f38df39c71e1a9e9c157 (diff) | |
download | pacman-24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec.tar.xz |
Turn gpg commands into functions in pacman-key
Adds functions for every gpg command. By pulling out the gpg commands from the
"program start" section, additional commands can be run before or after a
specific gpg command without adding additional clutter to the function call
section.
Adds an explicit exit status of 0 to prevent arithmetic expansions from
returning non-zero, thereby falsely causing pacman-key to have a non-zero exit
status.
This change creates the framework for additional error messages and better
exit statuses being added to every pacman-key gpg call.
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/pkghash.c')
0 files changed, 0 insertions, 0 deletions