Agent: Don't propagate if depth == 0

This commit is contained in:
Mike Salvatore 2022-03-07 07:52:07 -05:00
parent fd2143a4df
commit 41287d458b
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class AutomatedMaster(IMaster):
# still running.
credential_collector_thread.join()
if self._can_propagate():
if self._can_propagate() and config["depth"] > 0:
self._propagator.propagate(config["propagation"], self._stop)
payload_thread = create_daemon_thread(