Commit 283ac446 authored by Jérome Perrin's avatar Jérome Perrin

cli/prune: fix a possible infinite recursion

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.
parent d4690a67
Pipeline #16942 failed with stage
in 0 seconds