Fixed kcontext use s3-arch broken on passphrase

This commit is contained in:
斟酌 鵬兄 2025-08-07 00:43:46 +08:00
parent 65d9193da7
commit 9bee126e82

View File

@ -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