Skip to content

Commit

Permalink
Time::purgeWrite: Corrected handling of collated processors directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Weller committed Aug 17, 2017
1 parent b019a3a commit 5bea9ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/OpenFOAM/db/Time/TimeIO.C
Expand Up @@ -551,7 +551,13 @@ bool Foam::Time::writeObject

while (previousWriteTimes_.size() > purgeWrite_)
{
rmDir(objectRegistry::path(previousWriteTimes_.pop()));
fileHandler().rmDir
(
fileHandler().filePath
(
objectRegistry::path(previousWriteTimes_.pop())
)
);
}
}
}
Expand Down

0 comments on commit 5bea9ad

Please sign in to comment.