summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions4
1 files changed, 1 insertions, 3 deletions
diff --git a/db-functions b/db-functions
index 3100e31..1b77035 100644
--- a/db-functions
+++ b/db-functions
@@ -471,9 +471,7 @@ check_pkgsig() {
local ret=1
local fd="$(mktemp --tmpdir="${WORKDIR}")"
- exec 4>"${fd}"
- gpg --homedir /etc/pacman.d/gnupg/ --status-fd 4 --verify "${signature}" >/dev/null 2>&1
- exec 4>&-
+ gpg --homedir /etc/pacman.d/gnupg/ --status-file "${fd}" --verify "${signature}" >/dev/null 2>&1
if grep -q TRUST_FULLY "${fd}"; then
ret=0
fi