mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add rmDir silent option for all fileOperations implementations
This commit is contained in:
@ -404,7 +404,11 @@ int main(int argc, char *argv[])
|
||||
Info<< "Removing " << nProcs
|
||||
<< " existing processor directories" << endl;
|
||||
|
||||
fileHandler().rmDir(runTime.path()/word("processors"));
|
||||
fileHandler().rmDir
|
||||
(
|
||||
runTime.path()/word("processors"),
|
||||
true // silent (may not have been collated)
|
||||
);
|
||||
|
||||
// remove existing processor dirs
|
||||
// reverse order to avoid gaps if someone interrupts the process
|
||||
|
||||
Reference in New Issue
Block a user