mirror of
https://github.com/flibusta-apps/vault-unseal-docker.git
synced 2025-12-06 06:35:38 +01:00
Fix
This commit is contained in:
@@ -22,7 +22,7 @@ for k in $VAULT_KEYS; do
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
vault unseal "$k" > /dev/null
|
vault operator unseal "$k" > /dev/null
|
||||||
code=$?
|
code=$?
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "unseal returned a bad exit code ($code). terminating..."
|
echo "unseal returned a bad exit code ($code). terminating..."
|
||||||
|
|||||||
Reference in New Issue
Block a user