Skip to content

cli/prune: fix a possible infinite recursion

Jérome Perrin requested to merge fix/prune_recursive_return into master

With recursive instances, it was possible that the slapos.cfg introduce a kind of loop and this was checking again and again the same folders.

Fix this by keeping track of the visited instance root and not visit the same instance root twice.

Merge request reports