From fc760d9666240f3728e2082987fa2b6bfba07658 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 30 May 2018 14:27:21 +0200 Subject: [PATCH] Do not crash when UNSEAL_TOKEN is not available Signed-off-by: Knut Ahlers --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index db811ea..b5715fb 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,7 +30,7 @@ function main() { } export VAULT_TOKEN=$(authenticate) - UNSEAL_TOKEN=$(getUnsealKey) + UNSEAL_TOKEN=$(getUnsealKey || echo "") unseal "${UNSEAL_TOKEN}"