[pacman-dev] [PATCH] fix syntax error when running pacman-key --help

Eli Schwartz eschwartz at archlinux.org
Wed Mar 3 04:23:55 UTC 2021


In commit 0f75ab3224141a5e8a4fe72b48b4639c83c6316b some unbalanced
quotes were added by the committer while editing an error message.

Fixes FS#69865

Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
 scripts/pacman-key.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 35a3b4daa..50342649c 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -564,7 +564,7 @@ refresh_keys() {
 
 		# if no key was found, fall back to using the keyservers (with the key fingerprint instead)
 		if (( $? )) &&  ! "${GPG_PACMAN[@]}" --refresh-keys "$id"; then
-			error "$(gettext "Could not update key: %s") "$id"
+			error "$(gettext "Could not update key: %s")" "$id"
 			ret=1
 		fi
 	done
-- 
2.30.1


More information about the pacman-dev mailing list