From 6fca60261ee7f80a157b8e0f25bd345680f62b59 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 26 Nov 2020 01:04:42 +0000 Subject: [PATCH] fix recovery --- api/tacticalrmm/agents/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tacticalrmm/agents/views.py b/api/tacticalrmm/agents/views.py index e1fe4a8f..1a825dfa 100644 --- a/api/tacticalrmm/agents/views.py +++ b/api/tacticalrmm/agents/views.py @@ -642,7 +642,7 @@ def recover(request): return notify_error("Only available in agent version greater than 0.9.5") if not agent.has_nats: - if mode == "tacagent" or mode == "checkrunner": + if mode == "tacagent" or mode == "checkrunner" or mode == "rpc": return notify_error("Requires agent version 1.1.0 or greater") # attempt a realtime recovery if supported, otherwise fall back to old recovery method