This commit is contained in:
2024-05-16 00:14:13 +02:00
parent 11f8c012f8
commit e0a0476a6b

View File

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