Fixed kcontext use s3-arch broken on passphrase
This commit is contained in:
parent
65d9193da7
commit
9bee126e82
@ -172,6 +172,9 @@ function _kcontext-s3-arch {
|
|||||||
echo "Please specify a context name" >&2
|
echo "Please specify a context name" >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_kstoreinit || return 1
|
||||||
|
|
||||||
_URL=$( kstore get "kcontext" "s3-arch.bucket.$_NAME" 2> /dev/null )
|
_URL=$( kstore get "kcontext" "s3-arch.bucket.$_NAME" 2> /dev/null )
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "No such context: $_NAME" >&2
|
echo "No such context: $_NAME" >&2
|
||||||
|
Loading…
Reference in New Issue
Block a user