Commit 7cad29f7 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

BUG: argList: disable checking for exact path; rely on fileHandler instead

parent fb20bc10
......@@ -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;
}
......
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