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

Allan McRae allan at archlinux.org
Wed Mar 3 04:37:33 UTC 2021


On 3/3/21 2:23 pm, Eli Schwartz wrote:
> 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"


Hrm...  Quite possible I screwed that up while adjusting the error
message...

>  			ret=1
>  		fi
>  	done
> 


More information about the pacman-dev mailing list