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
|
||||
fi
|
||||
|
||||
vault unseal "$k" > /dev/null
|
||||
vault operator unseal "$k" > /dev/null
|
||||
code=$?
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "unseal returned a bad exit code ($code). terminating..."
|
||||
|
||||
Reference in New Issue
Block a user