Skip to content
Snippets Groups Projects
Commit 6ac47e6d authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: consistent foamDictionary stderr redirect in RunFunctions

parent f5275444
Branches
Tags
No related merge requests found
...@@ -94,7 +94,7 @@ getNumberOfProcessors() ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment