mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: updated error message
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -73,26 +73,18 @@ void Foam::systemCall::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
else if (!dynamicCode::allowSystemOperations)
|
else if (!dynamicCode::allowSystemOperations)
|
||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn("systemCall::read(const dictionary&)")
|
||||||
(
|
<< "Executing user-supplied system calls is not enabled by "
|
||||||
"systemCall::read(const dictionary&)"
|
<< "default because of " << nl
|
||||||
) << "Executing user-supplied system calls is not"
|
<< "security issues. If you trust the case you can enable this "
|
||||||
<< " enabled by default" << endl
|
<< "facility by " << nl
|
||||||
<< "because of security issues. If you trust the case you can"
|
<< "adding to the InfoSwitches setting in the system controlDict:"
|
||||||
<< " enable this" << endl
|
<< nl << nl
|
||||||
<< "facility be adding to the InfoSwitches setting in the system"
|
<< " allowSystemOperations 1" << nl << nl
|
||||||
<< " controlDict:" << endl
|
<< "The system controlDict is either" << nl << nl
|
||||||
<< endl
|
<< " ~/.OpenFOAM/$WM_PROJECT_VERSION/controlDict" << nl << nl
|
||||||
<< " allowSystemOperations 1" << endl
|
<< "or" << nl << nl
|
||||||
<< endl
|
<< " $WM_PROJECT_DIR/etc/controlDict" << nl << nl
|
||||||
<< "The system controlDict is either" << endl
|
|
||||||
<< endl
|
|
||||||
<< " ~/.OpenFOAM/$WM_PROJECT_VERSION/controlDict" << endl
|
|
||||||
<< endl
|
|
||||||
<< "or" << endl
|
|
||||||
<< endl
|
|
||||||
<< " $WM_PROJECT_DIR/etc/controlDict" << endl
|
|
||||||
<< endl
|
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user