mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: argList: disable checking for exact path; rely on fileHandler instead
This commit is contained in:
@ -1384,10 +1384,9 @@ bool Foam::argList::checkRootCase() const
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
fileName pathDir(fileHandler().filePath(path()));
|
||||
|
||||
if ((checkProcessorDirectories_ && pathDir.empty()) && Pstream::master())
|
||||
if (checkProcessorDirectories_ && pathDir.empty() && Pstream::master())
|
||||
{
|
||||
// Allow slaves on non-existing processor directories, created later
|
||||
// (e.g. redistributePar)
|
||||
@ -1398,18 +1397,6 @@ bool Foam::argList::checkRootCase() const
|
||||
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!isDir(path()))
|
||||
{
|
||||
FatalError
|
||||
<< executable_
|
||||
<< ": cannot open case directory " << path()
|
||||
<< endl;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user