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 e08e700 commit fe272b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions container_files/idp/rotateSealerKey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ then
fi

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

Expand Down

0 comments on commit fe272b8

Please sign in to comment.