[pacman-dev] [PATCH 2/2] libmakepkg/integrity: Fix error message not sent to stderr
Eli Schwartz
eschwartz93 at gmail.com
Tue Jul 4 03:13:23 UTC 2017
Signed-off-by: Eli Schwartz <eschwartz93 at gmail.com>
---
scripts/libmakepkg/integrity/verify_signature.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/libmakepkg/integrity/verify_signature.sh.in b/scripts/libmakepkg/integrity/verify_signature.sh.in
index b5577523..5468f977 100644
--- a/scripts/libmakepkg/integrity/verify_signature.sh.in
+++ b/scripts/libmakepkg/integrity/verify_signature.sh.in
@@ -84,7 +84,7 @@ check_pgpsigs() {
printf "%s ($(gettext "the public key %s is not trusted"))" $(gettext "FAILED") "$fingerprint" >&2
errors=1
elif (( ${#validpgpkeys[@]} > 0 )) && ! in_array "$fingerprint" "${validpgpkeys[@]}"; then
- printf "%s (%s %s)" "$(gettext "FAILED")" "$(gettext "invalid public key")" "$fingerprint"
+ printf "%s (%s %s)" "$(gettext "FAILED")" "$(gettext "invalid public key")" "$fingerprint" >&2
errors=1
else
printf '%s' "$(gettext "Passed")" >&2
--
2.13.2
More information about the pacman-dev
mailing list