From 9bee126e82a0e14477e6909e5c0500e5500de771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Thu, 7 Aug 2025 00:43:46 +0800 Subject: [PATCH] Fixed kcontext use s3-arch broken on passphrase --- bash/sources/17_kcontext | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/sources/17_kcontext b/bash/sources/17_kcontext index f73c946..7c933fc 100644 --- a/bash/sources/17_kcontext +++ b/bash/sources/17_kcontext @@ -172,6 +172,9 @@ function _kcontext-s3-arch { echo "Please specify a context name" >&2 return 1 fi + + _kstoreinit || return 1 + _URL=$( kstore get "kcontext" "s3-arch.bucket.$_NAME" 2> /dev/null ) if [ $? -ne 0 ]; then echo "No such context: $_NAME" >&2