STYLE: adjust wording, file-layout

- comments in bashrc, cshrc.
- about controlDict names for allowSystemOperations
This commit is contained in:
Mark Olesen
2018-11-29 16:53:02 +01:00
parent 3f7ea92efa
commit be46f96862
6 changed files with 69 additions and 62 deletions

View File

@ -119,17 +119,16 @@ bool Foam::functionObjects::systemCall::read(const dictionary& dict)
else if (!dynamicCode::allowSystemOperations)
{
FatalErrorInFunction
<< "Executing user-supplied system calls may not be enabled by "
<< "default due to potential " << nl
<< "security issues. If you trust the case you can enable this "
<< "facility by " << nl
<< "adding to the InfoSwitches setting in the system controlDict:"
<< "Executing user-supplied system calls may have been disabled"
<< " by default" << nl
<< "for security reasons." << nl
<< "If you trust the code, you may enable this by adding"
<< nl << nl
<< " allowSystemOperations 1" << nl << nl
<< "The system controlDict is either" << nl << nl
<< " ~/.OpenFOAM/$WM_PROJECT_VERSION/controlDict" << nl << nl
<< "or" << nl << nl
<< " $WM_PROJECT_DIR/etc/controlDict" << nl << nl
<< "to the InfoSwitches setting in the system controlDict." << nl
<< "The system controlDict is any of" << nl << nl
<< " ~/.OpenFOAM/controlDict" << nl
<< " $WM_PROJECT_DIR/etc/controlDict" << nl << endl
<< exit(FatalError);
}