diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-01 22:51:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-05 17:13:20 +0200 |
commit | e8443b1685cc99cf3a46461e7a12c9b616fac44e (patch) | |
tree | 96811e49925e3ec90c388d114f2d2a551354fc0e /scripts/pacman-optimize.sh.in | |
parent | 7af0ab1cde9398c938a7a221aca5787934a16121 (diff) | |
download | pacman-e8443b1685cc99cf3a46461e7a12c9b616fac44e.tar.gz pacman-e8443b1685cc99cf3a46461e7a12c9b616fac44e.tar.xz |
Correctly check the GPG error codes
The error code is in fact a bitmask value of an error code and an error
source, so use the proper function to get only the relevant bits. For
the no error case, this shouldn't ever matter, but it bit me when I was
trying to compare the error code to other values and wondered why it
wasn't working, so set a good example.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/pacman-optimize.sh.in')
0 files changed, 0 insertions, 0 deletions