diff options
Diffstat (limited to 'claim/claim.c')
-rw-r--r-- | claim/claim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/claim/claim.c b/claim/claim.c index d997fc84..9fe156d2 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -171,8 +171,8 @@ void load_claiming_state(void) invalidate_node_instances(&localhost->host_uuid, claimed_id ? &uuid : NULL); metaqueue_store_claim_id(&localhost->host_uuid, claimed_id ? &uuid : NULL); - rrdhost_aclk_state_unlock(localhost); + if (!claimed_id) { info("Unable to load '%s', setting state to AGENT_UNCLAIMED", filename); return; |