mount: remove test-mount directory
Change-Id: Iff128a22ac7d0fa3e6514e62e1f4ea92a60f052b Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>pull/9014/head
parent
b33f822871
commit
6f725087a1
|
@ -247,7 +247,11 @@ void cleanupJails(const std::string& root)
|
|||
// legacy jails at the top-level
|
||||
for (const auto& newJail : newJails)
|
||||
{
|
||||
tryRemoveJail(Poco::Path(childDir, newJail).toString());
|
||||
const std::string path = Poco::Path(childDir, newJail).toString();
|
||||
if (newJail == CoolTestMountpoint)
|
||||
safeRemoveDir(path);
|
||||
else
|
||||
tryRemoveJail(path);
|
||||
}
|
||||
|
||||
// top level linkable and tmp mount point.
|
||||
|
|
Loading…
Reference in New Issue