Skip to content

Commit

Permalink
Update rotateSealerKey.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey authored Apr 25, 2019
1 parent 3b4961a commit e08e700
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion container_files/idp/rotateSealerKey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ then
echo "ERROR: Directory does not exist: ${IDP_HOME}" >&2
exit 1
fi


# Default JAVA_HOME if not already set
if [ ! -d "${JAVA_HOME:=/usr}" ]
then
echo "ERROR: JAVA_HOME Directory does not exist: ${JAVA_HOME}" >&2
exit 1
fi

function get_config {
# Key to lookup (escape . for regex lookup)
local KEY=${1:?"No key provided to look up value"}
Expand Down

0 comments on commit e08e700

Please sign in to comment.