diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2018-11-24 15:56:11 -0800 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-11-27 22:48:43 +1000 |
commit | 3726693612a7ab34a1cd27916a6d65314299812c (patch) | |
tree | 5d6287997c1e6ff702f58dac9cb16b547bf8fbb5 /lib/libalpm/alpm.h | |
parent | 508b4e3ec0cb3e365942f4dc0626edda4789932b (diff) | |
download | pacman-3726693612a7ab34a1cd27916a6d65314299812c.tar.xz |
add specific error for missing gpg support
"wrong or NULL argument passed" is a useless error for end users.
Fixes FS#60880.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 2d3d198a..597e11bd 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -118,7 +118,9 @@ typedef enum _alpm_errno_t { ALPM_ERR_LIBARCHIVE, ALPM_ERR_LIBCURL, ALPM_ERR_EXTERNAL_DOWNLOAD, - ALPM_ERR_GPGME + ALPM_ERR_GPGME, + /* Missing compile-time features */ + ALPM_ERR_MISSING_CAPABILITY_SIGNATURES } alpm_errno_t; /** Returns the current error code from the handle. */ |