Skip to content

Commit

Permalink
Check for existence of agent jar
Browse files Browse the repository at this point in the history
  • Loading branch information
DaGeRe committed Jan 9, 2025
1 parent 065e89d commit 89598f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/pinpoint-java/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ then
fi

function getAgent() {
if [ ! -d "${BASE_DIR}/pinpoint" ]
if [ ! -f "${AGENT_JAR}" ]
then
mkdir -p "${BASE_DIR}/pinpoint"
cd "${BASE_DIR}/pinpoint"
Expand Down

0 comments on commit 89598f2

Please sign in to comment.