Skip to content

Commit

Permalink
Properly handle installs in /.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferroin committed Oct 19, 2020
1 parent ef46807 commit c7617dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netdata-installer.sh
Expand Up @@ -1847,7 +1847,7 @@ fi
# -----------------------------------------------------------------------------
if [ -n "${NETDATA_CLAIM_TOKEN}" ]; then
progress "Attempting to claim agent to ${NETDATA_CLAIM_URI}"
if ${NETDATA_PREFIX}/bin/netdata-claim.sh -token=${NETDATA_CLAIM_TOKEN} -rooms=${NETDATA_CLAIM_ROOMS} -uri=${NETDATA_CLAIM_URI} ${NETDATA_CLAIM_EXTRA}; then
if ${NETDATA_PREFIX:-/usr}/bin/netdata-claim.sh -token=${NETDATA_CLAIM_TOKEN} -rooms=${NETDATA_CLAIM_ROOMS} -uri=${NETDATA_CLAIM_URI} ${NETDATA_CLAIM_EXTRA}; then
progress "Successfully claimed node"
else
run_failed "Unable to claim node, you must do so manually."
Expand Down

0 comments on commit c7617dc

Please sign in to comment.