mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: consistent foamDictionary stderr redirect in RunFunctions
This commit is contained in:
@ -94,7 +94,7 @@ getNumberOfProcessors()
|
|||||||
getApplication()
|
getApplication()
|
||||||
{
|
{
|
||||||
# Re-use positional parameters for automatic whitespace elimination
|
# Re-use positional parameters for automatic whitespace elimination
|
||||||
set -- $(foamDictionary -disableFunctionEntries -entry application -value system/controlDict)
|
set -- $(foamDictionary -disableFunctionEntries -entry application -value system/controlDict 2>/dev/null)
|
||||||
|
|
||||||
if [ "$#" -eq 1 ]
|
if [ "$#" -eq 1 ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user