Skip to content

Commit

Permalink
fix invalid java home
Browse files Browse the repository at this point in the history
  • Loading branch information
arc0035 committed Nov 1, 2023
1 parent c00caad commit c551515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LOG_DIR=${CURRENT_DIR}log
CONF_DIR=${CURRENT_DIR}conf

SERVER_PORT=$(cat $CONF_DIR/application.yml | grep "server:" -A 3 | grep "port" | awk '{print $2}'| sed 's/\r//')
if [ ${SERVER_PORT}"" = "" ];then
if [ ${SERVER_PORT} = "" ];then
echo "$CONF_DIR/application.yml server port has not been configured"
exit -1
fi
Expand Down

0 comments on commit c551515

Please sign in to comment.