we keep reusing the same std::vector from which we delete items when a file is found. Therefore, second run wrongly complains about unexpected files and deletion does not delete everything.
Solution: Make copies of std::vector which we can change and keep the original unchanged.
Solution: Make copies of std::vector which we can change and keep the original unchanged.
Signed-off-by: Jana Rapava janarapava@eaton.com