Commit 0ada640f authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

Time::purgeWrite: Corrected handling of collated processors directory

Resolves bug-report https://bugs.openfoam.org/view.php?id=2667
parent bed8dd4b
......@@ -554,7 +554,13 @@ bool Foam::Time::writeObject
while (previousWriteTimes_.size() > purgeWrite_)
{
rmDir(objectRegistry::path(previousWriteTimes_.pop()));
fileHandler().rmDir
(
fileHandler().filePath
(
objectRegistry::path(previousWriteTimes_.pop())
)
);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment